BIOS Machine Pack

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search

Reset Vector

 0000 RESET (RST0)

User RST Vector

 002B DATA (OLD C' WHEN RST 30h OCCURRED WITH LO_ROM ENABLED)
 0030 FREE_FOR_USER (RST6)

Machine Pack (Printer)

 BD28 MC_RESET_PRINTER   ;out: [BDF1]=default jp opcode
 BD2B MC_PRINT_CHAR      ;in: A=char, out: CY=1=okay, CY=0=busy/timeout
 BD2E MC_BUSY_PRINTER    ;out: CY=1=busy, CY=0=ready
 BD31 MC_SEND_PRINTER    ;in: A=char, out: CY=1
 BD58 MC_PRINT_TRANSLATION_664  ;in: HL=translation table (664 and up only)
 BDF1 HOOK_MC_PRINT_CHAR ;in: A=char, out: CY=1=okay, CY=0=busy/timeout

Machine Pack (Other)

 BD37 JUMP_RESTORE       ;out: [BB00..BDCC]=defaults (raw BIOS, non-AMSDOS)
 BCC8 KL_CHOKE_OFF       ;zerofill kernel RAM, out: B,C,DE,ZF