more compatible STAL/EAL/MEMUSS handling

This commit is contained in:
FeralChild64 committed 2019-11-07 19:00:09 +01:00
1 parent 2e9a0b1610
commit ce68834035
5 files changed
+65 -33

No files matched your search

+22 -2
View File
@@ -208,9 +208,29 @@ tape_handle_header:
adc STAL+1
sta EAL+1
!:
// Print LOADING
// Setup MEMUSS (see Mapping the C64, page 36)
jsr lvs_display_loading_verifying
lda STAL+0
sta MEMUSS+0
lda STAL+1
sta MEMUSS+1
// Print LOADING and start address
lda MSGFLG
bpl tape_handle_header_displayed
ldx #__MSG_KERNAL_LOADING
jsr print_kernal_message
ldx #__MSG_KERNAL_FROM_HEX
jsr print_kernal_message
lda STAL+1
jsr print_hex_byte
lda STAL+0
jsr print_hex_byte
tape_handle_header_displayed:
// Load the file