mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-12 02:02:06 +00:00
Updates for removal of -phxass option
This commit is contained in:
@@ -25,7 +25,7 @@ moveBlitterObject:
|
||||
lea ypos(pc),a4
|
||||
add.l #1,xpos ; move the blitter object one pixel to the right
|
||||
add.l #1,ypos ; move the blitter object one pixel down
|
||||
bsr.s blitObject64 ; blit 64 pixel object (x=d0,y=d1,background=a0,object=a1,mask=a2)
|
||||
bsr blitObject64 ; blit 64 pixel object (x=d0,y=d1,background=a0,object=a1,mask=a2)
|
||||
cmp.l #SCREEN_WIDTH-BLIT_BOB_WIDTH64+16,xpos ; check if we need to wrap the x
|
||||
bne.s .skip
|
||||
move.l #0,xpos ; wrap x back to 0
|
||||
|
||||
@@ -5,7 +5,7 @@ init:
|
||||
move #$7fff,INTENA(a6) ; disable all interrupts
|
||||
|
||||
;; set up default palette
|
||||
bsr.s installPalette
|
||||
bsr installPalette
|
||||
|
||||
;; set up playfield
|
||||
move.w #(RASTER_Y_START<<8)|RASTER_X_START,DIWSTRT(a6)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
entry:
|
||||
lea CUSTOM,a6
|
||||
bsr init
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
|
||||
lea bitplanes(pc),a0
|
||||
lea emoji,a1
|
||||
@@ -19,7 +19,7 @@ entry:
|
||||
.blitLoop:
|
||||
bsr moveBlitterObject
|
||||
dbra d0,.blitLoop
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
bra.s .mainLoop
|
||||
|
||||
include "blit.s"
|
||||
@@ -31,7 +31,7 @@ moveBlitterObject:
|
||||
lea ypos(pc),a4
|
||||
add.l #1,xpos ; move the blitter object one pixel to the left
|
||||
add.l #1,ypos ; move the blitter object one pixel down
|
||||
bsr.s blitMaskedObject64 ; blit 64 pixel object (x=d0,y=d1,background=a0,object=a1,mask=a2)
|
||||
bsr blitMaskedObject64 ; blit 64 pixel object (x=d0,y=d1,background=a0,object=a1,mask=a2)
|
||||
cmp.l #SCREEN_WIDTH-BLIT_BOB_WIDTH64+16,xpos ; check if we need to wrap the x
|
||||
bne.s .skip
|
||||
move.l #0,xpos ; wrap x back to 0
|
||||
|
||||
@@ -5,7 +5,7 @@ init:
|
||||
move #$7fff,INTENA(a6) ; disable all interrupts
|
||||
|
||||
;; set up default palette
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
|
||||
;; set up playfield
|
||||
move.w #(RASTER_Y_START<<8)|RASTER_X_START,DIWSTRT(a6)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
entry:
|
||||
lea CUSTOM,a6
|
||||
bsr init
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
|
||||
.mainLoop:
|
||||
bsr waitVerticalBlank
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ init:
|
||||
move #$7fff,INTENA(a6) ; disable all interrupts
|
||||
|
||||
;; set up default palette
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
|
||||
;; set up playfield
|
||||
move.w #(RASTER_Y_START<<8)|RASTER_X_START,DIWSTRT(a6)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
entry:
|
||||
lea CUSTOM,a6
|
||||
bsr init
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
|
||||
.mainLoop:
|
||||
bsr waitVerticalBlank
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ init:
|
||||
move #$7fff,INTENA(a6) ; disable all interrupts
|
||||
|
||||
;; set up default palette
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
|
||||
;; set up playfield
|
||||
move.w #(RASTER_Y_START<<8)|RASTER_X_START,DIWSTRT(a6)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
entry:
|
||||
lea CUSTOM,a6
|
||||
bsr init
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
|
||||
.mainLoop:
|
||||
bsr waitVerticalBlank
|
||||
|
||||
@@ -6,7 +6,7 @@ init:
|
||||
move #$7fff,INTENA(a6) ; disable all interrupts
|
||||
|
||||
;; set up default palette
|
||||
bsr.s installColorPalette
|
||||
bsr installColorPalette
|
||||
|
||||
;; set up playfield
|
||||
move.w #(RASTER_Y_START<<8)|RASTER_X_START,DIWSTRT(a6)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user