mirror of
https://github.com/MiSTer-devel/CDi_MiSTer.git
synced 2026-04-19 03:04:19 +00:00
- 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
35 lines
391 B
NASM
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"
|