megadrive_test2

diff src/intr.s @ 4:72ab63f262bf

tiles
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 19 Jun 2017 08:02:51 +0300
parents b22bc95f0cc0
children ea70f3da150f
line diff
     1.1 --- a/src/intr.s	Tue Mar 14 09:11:18 2017 +0200
     1.2 +++ b/src/intr.s	Mon Jun 19 08:02:51 2017 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -| vi:filetype=asm68k:
     1.5 +| vi:filetype=gas68k:
     1.6  | the following will go into the .vect section which will be placed at the very
     1.7  | begining of the binary at address 0 by the linker (see lnkscript).
     1.8  	.section .vect,"a"
     1.9 @@ -92,15 +92,15 @@
    1.10  	.extern palval
    1.11  
    1.12  intr_hblank:
    1.13 -	move.l #0xc0020000, VDP_PORT_CTL
    1.14 -
    1.15 -	move.w testcol, %d0
    1.16 -	move.w %d0, VDP_PORT_DATA
    1.17 -	rol.b #4, %d0
    1.18 -	move.w %d0, testcol
    1.19 -
    1.20 +|	move.l #0xc0020000, VDP_PORT_CTL
    1.21 +|
    1.22 +|	move.w testcol, %d0
    1.23 +|	move.w %d0, VDP_PORT_DATA
    1.24 +|	rol.b #4, %d0
    1.25 +|	move.w %d0, testcol
    1.26 +|
    1.27  	rte
    1.28  
    1.29  intr_vblank:
    1.30 -	jsr vblank_handler
    1.31 +	|jsr vblank_handler
    1.32  	rte