Hi good afternoon.
im wondering that the starting address at cpctelera can be so low. Why ?
normally you can only start at 0x4000.
greeting
spritedemo:
------------------------------------
PROJNAME := sprites
Z80CODELOC := 0x0100
------------------------------------
Most cpctelera programs disable the firmware. Cpctelera has a command to do this. Disabling the firmware allows us to use the ram before 0x4000.
which system commands can then no longer be used?
greeting
Quote from: funkheld on 23:37, 20 November 20
which system commands can then no longer be used?
Have a look at the cpctelera documentation.
https://lronaldo.github.io/cpctelera/files/readme-txt.html (https://lronaldo.github.io/cpctelera/files/readme-txt.html)
For example in cpct_drawStringM0 provides a warning:
Do not put this function's code below 0x4000 in memory. In order to read characters from ROM, this function enables Lower ROM (which is located 0x0000-0x3FFF), so CPU would read code from ROM instead of RAM in first bank, effectively shadowing this piece of code. This would lead to undefined results (typically program would hang or crash).