ESC A - cursor up
ESC B - cursor down
ESC C - cursor leftright ESC D - cursor rightleft
ESC E - clear screen and move cursor to home
ESC H - move cursor to home
* 1st 64KB has Amstrad's XBIOS (callable using 'userf'), CCP, BDOS, BIOS, screen and firmware. Screen is at &4000-&7fff. Firmware is used. AMSDOS is not used.
* ## &c1/&c2 are used, so that there is common code at &c000-&ffff. This common code has a small BDOS and BIOS. Most of the functions use trampoline code to transition to bank 0 and call into the XBIOS.
* 2nd 64KB has the TPA and the shared code.
a) ## Page C4 has WBOOT and BDOS jump + &100-&3f00 of the TPA. This calls to functions in Page c7.b) ## Page C5 has &4000-&7fff of the TPA.c) ## Page C6 has &8000-&bfff of the TPA.d) ## Page C7 has &c000-&f2fb of the TPA. From &f2fc to &ffff is the trampoline code which transitions * to 1st bank of 64KB.
=== Extra memory ===
CPM+ on the CPC uses 128KB of memory. Therefore selections C4,C5,C6,C7 must be avoided if you have additional memory. Due to the design of DkTronic's compatible RAM expansions all memory accesses to additional RAM must occur from bank 0 (i.e. 'C0C1') and be transferred to the TPA in bank 1 (i.e. 'C2').
Therefore access to the additional RAM follows a pattern such as this:
=== Links ===
* [https://www.seasip.info/Cpm/index.html John Elliott's information about CPM 2.2 and CPM+ on the Amstrad]
*[[Media:CPM Plus Handbook.pdf|CP/M Plus handbook]]
[[Category:CP/M]][[Category:Operating System]]