diff --git a/src/kernel/cstartup.s b/src/kernel/cstartup.s index eeff2cd..4e68ff4 100755 --- a/src/kernel/cstartup.s +++ b/src/kernel/cstartup.s @@ -28,7 +28,7 @@ __program_root_section: .asciz "WDC" w65c265s_init: - // Disable interrupts + ; Disable interrupts sei stz UIER stz TIER @@ -36,26 +36,26 @@ w65c265s_init: short_a long_i - // We reset the VERA at boot. So P4.2 is an output, held - // low until later in the boot sequence. + ; We reset the VERA at boot. So P4.2 is an output, held + ; low until later in the boot sequence. lda #1 << 2 trb PD4 tsb PDD4 - // Now we delay a while. + ; Now we delay a while. ldy ##0x0FFF delay_y dey bne delay_y - // Enable all the in-use chip select lines. + ; Enable all the in-use chip select lines. lda #0b11110011 sta PCS7 - // Disable the on-CPU ROM + ; Disable the on-CPU ROM w65c265s_rom_off - // Disable the on-CPU RAM + ; Disable the on-CPU RAM w65c265s_sram_off ; Set P5.4 and P5.5 as output