Files
CDi_MiSTer/sim2/memzero.asm
Andre Zeps 738bd44379 Boot fixes and video implementation
- Attach display file and ICA to SDRAM
- Fixed byte order of 8 bit accesses by CPU
- Added SDRAM burst mode to fix video timing
- Fixed missing reset behavior of some components
- Added optional SDRAM zeroing
- Added SDRAM refresh during ROM download
- Added OS aware syscall parser to simulation
- Fixed SCC68070 on-chip interrupt autovector
- Fixed SCC68070 Timer0 frequency
- Added video pixel data FIFO
- Changed SDRAM auto refresh command
2024-08-17 22:32:51 +02:00

35 lines
391 B
NASM

section .text
org $400000
vector:
dc.l $300
dc.l main
dc.l 0,0
main:
move.l #0,d0
move.l #0,a0
move.l #(1024*512/4),d1
erasebank0:
move.l d0,(a0)
add.l #4,a0
add.l #-1,d1
bne erasebank0
move.l #$200000,a0
move.l #(1024*512/4),d1
erasebank1:
move.l d0,(a0)
add.l #4,a0
add.l #-1,d1
bne erasebank1
endless:
bra endless
wastespace:
incbin "misterdump.bin"