added support for the Commander X16 memory layout
This commit is contained in:
1 parent
9b94f30f98
commit
6a1070c8ac
173 files changed
+605
-155
No files matched your search
@@ -14,6 +14,9 @@
|
||||
#if CONFIG_PLATFORM_COMMODORE_64
|
||||
.eval selected++
|
||||
#endif
|
||||
#if CONFIG_PLATFORM_COMMANDER_X16
|
||||
.eval selected++
|
||||
#endif
|
||||
|
||||
.if (selected != 1) .error "Please select exactly one CONFIG_PLATFORM_* option"
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
.pseudocommand panic code
|
||||
{
|
||||
// If case no panic screen is used, we can skip providing error codes within Kernal
|
||||
#if CONFIG_PANIC_SCREEN || !SEGMENT_KERNAL
|
||||
#if CONFIG_PANIC_SCREEN
|
||||
lda code
|
||||
#endif
|
||||
jmp ($E4B7)
|
||||
@@ -117,7 +117,7 @@
|
||||
|
||||
.pseudocommand lda_zero // WARNING: do not use within interrupts
|
||||
{
|
||||
#if HAS_OPCODES_65C02
|
||||
#if HAS_OPCODES_65CE02
|
||||
tba
|
||||
#else
|
||||
lda #$00
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
|
||||
// BASIC startup vectors
|
||||
|
||||
|
||||
#if ROM_LAYOUT_X16
|
||||
|
||||
.label IBASIC_COLD_START = $C000
|
||||
.label IBASIC_WARM_START = $C002
|
||||
|
||||
#else
|
||||
|
||||
.label IBASIC_COLD_START = $A000
|
||||
.label IBASIC_WARM_START = $A002
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user