adapted BASIC to CRT memory layout, updated binaries
This commit is contained in:
1 parent
222b72cf7e
commit
732ba36d87
54 files changed
+461
-91
No files matched your search
@@ -1,7 +1,7 @@
|
||||
;; #LAYOUT# STD * #TAKE
|
||||
;; #LAYOUT# CRT BASIC_0 #TAKE
|
||||
;; #LAYOUT# M65 * #TAKE
|
||||
;; #LAYOUT# X16 BASIC_0 #TAKE
|
||||
;; #LAYOUT# CRT BASIC_1 #TAKE
|
||||
;; #LAYOUT# M65 BASIC_1 #TAKE
|
||||
;; #LAYOUT# * BASIC_0 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
|
||||
@@ -13,6 +13,12 @@ list_single_line:
|
||||
jsr (VB1__list_single_line)
|
||||
jmp map_NORMAL
|
||||
|
||||
} else ifdef SEGMENT_CRT_BASIC_0 {
|
||||
|
||||
jsr map_BASIC_1
|
||||
jsr JB1__list_single_line
|
||||
jmp map_NORMAL
|
||||
|
||||
} else {
|
||||
|
||||
; Print line number - in a new line
|
||||
@@ -21,6 +27,8 @@ list_single_line:
|
||||
|
||||
!ifdef CONFIG_MB_M65 {
|
||||
jsr peek_via_OLDTXT
|
||||
} else ifdef ROM_LAYOUT_CRT {
|
||||
jsr peek_via_OLDTXT
|
||||
} else ifdef CONFIG_MEMORY_MODEL_60K {
|
||||
jsr peek_under_roms
|
||||
} else ifdef CONFIG_MEMORY_MODEL_46K_OR_50K {
|
||||
@@ -34,6 +42,8 @@ list_single_line:
|
||||
|
||||
!ifdef CONFIG_MB_M65 {
|
||||
jsr peek_via_OLDTXT
|
||||
} else ifdef ROM_LAYOUT_CRT {
|
||||
jsr peek_via_OLDTXT
|
||||
} else ifdef CONFIG_MEMORY_MODEL_60K {
|
||||
jsr peek_under_roms
|
||||
} else ifdef CONFIG_MEMORY_MODEL_46K_OR_50K {
|
||||
@@ -58,6 +68,8 @@ list_print_loop:
|
||||
|
||||
!ifdef CONFIG_MB_M65 {
|
||||
jsr peek_via_OLDTXT
|
||||
} else ifdef ROM_LAYOUT_CRT {
|
||||
jsr peek_via_OLDTXT
|
||||
} else ifdef CONFIG_MEMORY_MODEL_60K {
|
||||
ldx #<OLDTXT
|
||||
jsr peek_under_roms
|
||||
@@ -261,6 +273,8 @@ list_fetch_subtoken:
|
||||
iny
|
||||
!ifdef CONFIG_MB_M65 {
|
||||
jsr peek_via_OLDTXT
|
||||
} else ifdef ROM_LAYOUT_CRT {
|
||||
jsr peek_via_OLDTXT
|
||||
} else ifdef CONFIG_MEMORY_MODEL_60K {
|
||||
ldx #<OLDTXT
|
||||
jsr peek_under_roms
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
;; #LAYOUT# STD * #TAKE
|
||||
;; #LAYOUT# CRT BASIC_0 #TAKE
|
||||
;; #LAYOUT# CRT BASIC_1 #TAKE
|
||||
;; #LAYOUT# M65 BASIC_1 #TAKE
|
||||
;; #LAYOUT# X16 BASIC_0 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
;; #LAYOUT# STD * #TAKE
|
||||
;; #LAYOUT# CRT BASIC_0 #TAKE
|
||||
;; #LAYOUT# CRT BASIC_1 #TAKE
|
||||
;; #LAYOUT# M65 BASIC_1 #TAKE
|
||||
;; #LAYOUT# X16 BASIC_0 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
;; #LAYOUT# STD * #TAKE
|
||||
;; #LAYOUT# CRT BASIC_0 #TAKE
|
||||
;; #LAYOUT# M65 * #TAKE
|
||||
;; #LAYOUT# X16 BASIC_0 #TAKE
|
||||
;; #LAYOUT# CRT BASIC_1 #TAKE
|
||||
;; #LAYOUT# M65 BASIC_1 #TAKE
|
||||
;; #LAYOUT# * BASIC_0 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
; This routine prints strings that have been packed using the 'generate_trings' tool.
|
||||
@@ -22,6 +22,20 @@ print_packed_misc_str:
|
||||
jsr (VB1__print_packed_misc_str)
|
||||
jmp map_NORMAL
|
||||
|
||||
} else ifdef SEGMENT_CRT_BASIC_0 {
|
||||
|
||||
print_packed_error:
|
||||
|
||||
jsr map_BASIC_1
|
||||
jsr JB1__print_packed_error
|
||||
jmp map_NORMAL
|
||||
|
||||
print_packed_misc_str:
|
||||
|
||||
jsr map_BASIC_1
|
||||
jsr JB1__print_packed_misc_str
|
||||
jmp map_NORMAL
|
||||
|
||||
} else {
|
||||
|
||||
!ifndef CONFIG_COMPRESSION_LVL_2 {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
;; #LAYOUT# STD * #TAKE
|
||||
;; #LAYOUT# CRT BASIC_0 #TAKE
|
||||
;; #LAYOUT# CRT BASIC_1 #TAKE
|
||||
;; #LAYOUT# M65 BASIC_1 #TAKE
|
||||
;; #LAYOUT# X16 BASIC_0 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
Reference in new issue
Block a user