added support for the Commander X16 memory layout

This commit is contained in:
FeralChild64 committed 2020-02-07 17:57:46 +01:00
1 parent 9b94f30f98
commit 6a1070c8ac
173 files changed
+605 -155

No files matched your search

+3
View File
@@ -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"
}
+2 -2
View File
@@ -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
+11
View File
@@ -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