Hynek Sladky | 4 Sep 14:05 2015
Picon

Z80 code in RAM

Hello,

I need to run assembly code in RAM. Is there any way how to write such source code? I need the compiler to produce "initialization" data in ROM which will contain the code with all addresses calculated for RAM placement, so the code can be a part of initialized data...

Thanks,
Hynek
------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Wolle K. | 26 Aug 23:27 2015
Picon

Re: How do your interrupt handlers look like

Derived from ST Micro's workaround 2 (CD00237242.pdf, 1.1.3):
 
Expecting a DIV / DIVW instruction in ISR, you can simply insert
 
push #0x28
pop cc
 
at the beginning of interrupt handler.
 
This is for concurrent interrupt handling only, for nested interrupts, the interruptability level must be encoded:
 
push #0b00<i1>0<i0>000
pop cc
.
Advantage: 3 bytes of code, 2 execution cycles
Disadvantage: overrides Software priority register settings.
------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
roelof 't Hooft | 26 Aug 00:34 2015
Picon

derna is going offline

Hi,

I was just notified that derna, the server that compiles
a sdcc windows package, is being taken offline tomorrow.
I am in the process of making a backup of files on the
server.
We hope to restore the server as soon as possible.
(I have to because it runs all our email data things)

I am really sorry for the inconvenience this causes.

Maarten, you can contact me by personal mail.
Damn that is also hosted on derna........
I will contact you if needed from another account.

roelof

------------------------------------------------------------------------------
Philipp Klaus Krause | 11 Aug 16:16 2015
Picon

Dropping support for labels at the end of compound statements

In standard C, each label has to be followed by a statement. HTis makes
a difference at the end of compoud statements.

Not allowed:
{
label:
}

Allowed:
{
label:;
}

SDCC currently allows both. The comment in SDCC.y makes it clear, that
this is a deliberate extension.

I would like to drop support for this non-standard extension. IMO
non-standard extensions should only be supported in SDCC where they
provide a substantial advantage, which IMO, is not the ccase here.

Philipp

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Henry Hallam | 8 Aug 23:23 2015

Sourceforge alternative?

With sourceforge's impending demise, are there any plans to move sdcc
development, mailing lists and release downloads to a new host?  It
just took me 15 minutes to get a working download link for 3.5.0...

Cheers, Henry

------------------------------------------------------------------------------
Philipp Klaus Krause | 29 Jul 09:28 2015
Picon

How do your interrupt handlers look like

I wonder how interrupt andlers written by sdcc users look like, in
particular:

* Do they contain divisions?
* Do they contain multiplications?
* Do they contain pointer arithmetic?
* Do they contain array accesses?
* Do they contain shifts?
* Do they call other functions?
* Are those other called functions static?
* Do those other called functions contain divisions?

The information might be useful in improving a workaround for a hardware
division issue (see bug #2401, RFE #448 / 449).

Philipp

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Luigi Erroi | 12 Jul 12:32 2015
Picon

Ziloghino - Arduino like Z80 system

The idea is to create a modular stackable Z80 microprocessor based board to use it as an arduino.
Then project is on Kickstart platform and i ask you if you would like to help me to build it. ZILOGHINO
Thank you.

--
Luigi.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Philipp Klaus Krause | 10 Jul 20:10 2015
Picon

Tutorials for stm8 development using free software

Recently, I updated my tutorials for using sdcc on the stm8 for sdcc
3.5.0, fixed a few typos, and most importantly:
New tutorials for WaveShare development boards¹², and serial I/O on the
STM8L-DISCOVERY.
The total number of tutorial / hardware combinations has increased from
4 to 13.

As before, all tutorials can be found at:
http://www.colecovision.eu/stm8/

Philipp

¹While STM provides both very cheap, simple evaluationm boards as well
es expensive ones with lots of features, the ones by WaveShare tend to
be more in between these two extremes, both price- and feature-wise.

²I am in no way affiliated with WaveShare; I bought all my WaveShare
boards at full price, unlike the STM boards (the STM8L-DISCOVERY I got
as a gift from someone who was happy to see stm8 support in sdcc, the
STM8/128-EVAL I got at reduced price at a liquidation sale)

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Georg Icking-Konert | 21 Jun 20:54 2015
Picon

Update "STM8_serial_flasher"

hello all,

just in case you’re interested, I have uploaded an update of my STM8 flashing tool to https://github.com/gicking/STM8_serial_flasher (program via UART bootloader). Changes:
  • supports direct connection RasPi UART to STM8 UART. Note: without protection the STM8 has to be supplied with 3.3V to avoid damaging the RasPi
  • option "Reply Mode“ (for details see STM8 bootloader manual). Is required e.g. for the UART2 of the STM8S105 on the "STM8S Discovery Board"
  • reset of STM8 via RasPi GPIO18. Unfortunately this requires STM8_serial_flasher to run with "sudo“ permission…?
  • additional STM8 project "BSL_activate“, which can be flashed via SWIM and which enables the bootloader via option bytes
Today I tested the following setups (see Wiki in above Github):
  • RasPi B model 2 / STM8 Discovery Board with UART-UART and automatic reset
  • RasPi B model 2 / STM8 custom board with USB-UART and manual reset
  • MacOS X 10.10.3 / STM8 custom board with USB-UART and manual reset
  • Win Vista SP2 / STM8 custom board with USB-UART and manual reset
The easiest way to test it is to compile both "STM8_serial_flasher" and project "BSL_activate" via "make". Then type "make serial“ to flash the STM8 (if settings at bottom of Makefile are correct)… 

Have fun!  :-)

Regards,
Georg Icking-Konert

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Maarten Brock | 20 Jun 22:29 2015
Picon

SDCC 3.5.0 Release Candidate 2

Hello SDCC friends,

The second Release Candidate for SDCC 3.5.0 has just been put online.

For RC1 there was no test result from anyone, neither positive nor
negative. I wonder if that means it was pretty OK, nobody tested, nobody
noticed or even nobody cared. Still I ask again:

If you have the time, please verify it and report back with the positive
or negative results.

May the Source be with you,
Maarten Brock

------------------------------------------------------------------------------
Philipp Klaus Krause | 17 Jun 19:34 2015
Picon

FOSDEM talk video

At FOSDEM 2015, there was a talk on sdcc, which was recorded.
I haven't watched it yet, but noticed the video is online now (probably
has been for some time):

Philipp

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Gmane