initial support for Mega65 extra ROM
This commit is contained in:
1 parent
7539c6b072
commit
4d56864327
333 files changed
+1747
-289
No files matched your search
@@ -1,16 +1,17 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
//
|
||||
// Official Kernal routine, described in:
|
||||
//
|
||||
// - [RG64] C64 Programmer's Reference Guide - page 301
|
||||
// - [CM64] Compute's Mapping the Commodore 64 - page 232
|
||||
// - [RG64] C64 Programmers Reference Guide - page 301
|
||||
// - [CM64] Computes Mapping the Commodore 64 - page 232
|
||||
//
|
||||
// CPU registers that has to be preserved (see [RG64]): .Y
|
||||
//
|
||||
|
||||
STOP:
|
||||
// Bit 7 of STKEY contains the state of the STOP key
|
||||
// (Compute's Mapping the 64, p27)
|
||||
// (Computes Mapping the 64, p27)
|
||||
|
||||
// BASIC checks carry flag to indicate STOP or not
|
||||
lda STKEY
|
||||
@@ -26,3 +27,6 @@ stop_pressed:
|
||||
sec
|
||||
lda #$00
|
||||
rts
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
Reference in new issue
Block a user