mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-26 00:29:29 +00:00
second: move hgr table generation to common code
This commit is contained in:
parent
12ed6da87d
commit
167373cd5e
|
@ -68,6 +68,7 @@ qload.o: qload.s \
|
||||||
wait.s wait_a_bit.s \
|
wait.s wait_a_bit.s \
|
||||||
lc_detect.s gr_fast_clear.s \
|
lc_detect.s gr_fast_clear.s \
|
||||||
text_print.s \
|
text_print.s \
|
||||||
|
hgr_table.s \
|
||||||
pt3_lib_detect_model.s pt3_lib_mockingboard_detect.s \
|
pt3_lib_detect_model.s pt3_lib_mockingboard_detect.s \
|
||||||
pt3_lib_mockingboard_setup.s interrupt_handler.s \
|
pt3_lib_mockingboard_setup.s interrupt_handler.s \
|
||||||
pt3_lib_mockingboard_patch.s
|
pt3_lib_mockingboard_patch.s
|
||||||
|
@ -85,6 +86,7 @@ qload2.o: qload2.s \
|
||||||
lc_detect.s gr_fast_clear.s \
|
lc_detect.s gr_fast_clear.s \
|
||||||
text_print.s start2.s \
|
text_print.s start2.s \
|
||||||
hardware_detect.s \
|
hardware_detect.s \
|
||||||
|
hgr_table.s \
|
||||||
pt3_lib_detect_model.s pt3_lib_mockingboard_detect.s \
|
pt3_lib_detect_model.s pt3_lib_mockingboard_detect.s \
|
||||||
pt3_lib_mockingboard_setup.s interrupt_handler.s \
|
pt3_lib_mockingboard_setup.s interrupt_handler.s \
|
||||||
pt3_lib_mockingboard_patch.s
|
pt3_lib_mockingboard_patch.s
|
||||||
|
@ -154,6 +156,7 @@ qload2.inc: generate_common QLOAD2
|
||||||
./generate_common -a 0x1200 -s clear_bottom qload2.lst >> qload2.inc
|
./generate_common -a 0x1200 -s clear_bottom qload2.lst >> qload2.inc
|
||||||
./generate_common -a 0x1200 -s clear_bottoms qload2.lst >> qload2.inc
|
./generate_common -a 0x1200 -s clear_bottoms qload2.lst >> qload2.inc
|
||||||
./generate_common -a 0x1200 -s clear_screens qload2.lst >> qload2.inc
|
./generate_common -a 0x1200 -s clear_screens qload2.lst >> qload2.inc
|
||||||
|
./generate_common -a 0x1200 -s hgr_make_tables qload2.lst >> qload2.inc
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
.include "../zp.inc"
|
.include "../zp.inc"
|
||||||
.include "../hardware.inc"
|
.include "../hardware.inc"
|
||||||
.include "../qload.inc"
|
.include "../qload2.inc"
|
||||||
|
|
||||||
mod7_table = $1c00
|
mod7_table = $1c00
|
||||||
div7_table = $1d00
|
div7_table = $1d00
|
||||||
|
@ -32,7 +32,7 @@ load_loop:
|
||||||
lda #0
|
lda #0
|
||||||
jsr hgr_page1_clearscreen
|
jsr hgr_page1_clearscreen
|
||||||
|
|
||||||
jsr hgr_make_tables
|
; jsr hgr_make_tables
|
||||||
|
|
||||||
|
|
||||||
; fc logo
|
; fc logo
|
||||||
|
@ -63,7 +63,7 @@ nuts_done:
|
||||||
.align $100
|
.align $100
|
||||||
.include "../wait_keypress.s"
|
.include "../wait_keypress.s"
|
||||||
.include "../zx02_optim.s"
|
.include "../zx02_optim.s"
|
||||||
.include "../hgr_table.s"
|
; .include "../hgr_table.s"
|
||||||
.include "../hgr_clear_screen.s"
|
.include "../hgr_clear_screen.s"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
.include "../zp.inc"
|
.include "../zp.inc"
|
||||||
.include "../hardware.inc"
|
.include "../hardware.inc"
|
||||||
.include "../qload.inc"
|
.include "../qload2.inc"
|
||||||
|
|
||||||
mod7_table = $1c00
|
mod7_table = $1c00
|
||||||
div7_table = $1d00
|
div7_table = $1d00
|
||||||
|
@ -33,7 +33,7 @@ load_loop:
|
||||||
lda #0
|
lda #0
|
||||||
jsr hgr_page1_clearscreen
|
jsr hgr_page1_clearscreen
|
||||||
|
|
||||||
jsr hgr_make_tables
|
; jsr hgr_make_tables
|
||||||
|
|
||||||
;=====================
|
;=====================
|
||||||
;=====================
|
;=====================
|
||||||
|
@ -127,7 +127,7 @@ no_update_message:
|
||||||
.align $100
|
.align $100
|
||||||
.include "../wait_keypress.s"
|
.include "../wait_keypress.s"
|
||||||
.include "../zx02_optim.s"
|
.include "../zx02_optim.s"
|
||||||
.include "../hgr_table.s"
|
; .include "../hgr_table.s"
|
||||||
.include "../hgr_clear_screen.s"
|
.include "../hgr_clear_screen.s"
|
||||||
.include "vertical_scroll.s"
|
.include "vertical_scroll.s"
|
||||||
|
|
||||||
|
|
|
@ -190,6 +190,13 @@ aux_address_array:
|
||||||
.include "pt3_lib_detect_model.s"
|
.include "pt3_lib_detect_model.s"
|
||||||
.include "pt3_lib_mockingboard_detect.s"
|
.include "pt3_lib_mockingboard_detect.s"
|
||||||
|
|
||||||
|
mod7_table = $1c00
|
||||||
|
div7_table = $1d00
|
||||||
|
hposn_low = $1e00
|
||||||
|
hposn_high = $1f00
|
||||||
|
|
||||||
|
.include "hgr_table.s"
|
||||||
|
|
||||||
qload_end:
|
qload_end:
|
||||||
|
|
||||||
.assert (>qload_end - >qload_start) < $e , error, "loader too big"
|
.assert (>qload_end - >qload_start) < $e , error, "loader too big"
|
||||||
|
|
|
@ -15,6 +15,8 @@ second_start:
|
||||||
|
|
||||||
jsr hardware_detect
|
jsr hardware_detect
|
||||||
|
|
||||||
|
jsr hgr_make_tables
|
||||||
|
|
||||||
;===================
|
;===================
|
||||||
; restart?
|
; restart?
|
||||||
;===================
|
;===================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user