diff --git a/STATUS.md b/STATUS.md index 8c9e16db..472daf2b 100644 --- a/STATUS.md +++ b/STATUS.md @@ -5,7 +5,7 @@ Here are the features of the Open ROMs not found in the original ROMs from the 8 * improved keyboard scanning, supports multi-key roll-over and rejection of spurious joystick input * joystick (port 1) can be used to move text cursor -* uses RAM under ROM and I/O: 61436 bytes free +* uses RAM under ROM and I/O: 61438 bytes free * cold/warm start silences multiple SID chips - all $D4xx and $D5xx addresses * wark start due to BRK prints out the instruction address * extended `LOAD` command diff --git a/c64/basic/basic_cold_start.s b/c64/basic/basic_cold_start.s index 01928aef..ed3dbe46 100644 --- a/c64/basic/basic_cold_start.s +++ b/c64/basic/basic_cold_start.s @@ -43,10 +43,10 @@ basic_cold_start: jsr basic_do_new lda basic_top_of_memory_ptr+0 sec - sbc basic_end_of_text_ptr+0 + sbc basic_start_of_text_ptr+0 tax lda basic_top_of_memory_ptr+1 - sbc basic_end_of_text_ptr+1 + sbc basic_start_of_text_ptr+1 jsr print_integer