Changes

Jump to: navigation, search

Source Codes

646 bytes added, 09:25, 10 January 2013
/* General Notes */
* Memory range for programs is &0040-&a700. This avoids firmware and memory allocated by AMSDOS disc ROM.
This is safe for the purpose of loading and being compatible with the firmware.
After loading, if you disable the firmware, you can re-use the firmware areas as you want, but you need to do everything yourself (scanning keyboard, drawing, sound etc).If you need to use these areas, a common thing to do is to load most into the safe area, some into the screen, and relocate it after loading.
* Programs on cassette and disc have a header that define the load address, length and execution address.
*Firmware refreshes the palette every 50th of a second, so you need to turn off the firmware and use the hardware directly, or set the colours using firmware.
*Firmware can be "turned off", by disabling lower ROM, redirecting interrupts and not calling firmware functions.
*Screen can be resized the same as the Spectrum. Provided you do not use hardware scrolling, this gives you extra space although because of the layout of the screen, it's not continuous, it's in 8 seperate blocks, but it's enough to store data and code.
2,562
edits