I am trying to port my open source multi-platform game
to as many 8-bit targets as possible, possibly *all* 8-bit targets with enough RAM (about 28k).
I have managed so far to cover all 6502 reasonable cases and I have started with the Z80 targets by completing
a first port to the Spectrum. Once I am done with Z80 I will move to 6809 targets (with CMOC)...
Now I am aiming at the Amstrad CPC.
At first I will be using plain ANSI C but I need some extra functions for input and output:
(1) How do I print a character on the screen at position (x,y) ? Are there any examples? Should I use poke to video memory?
(2) How can I read the keyboard input without waiting for a key press? What should I include and use?
Amstrad CPC and NC systems
1 post • Page 1 of 1