Updates for removal of -phxass option

This commit is contained in:
alpine9000 2016-03-21 20:35:08 +11:00
parent 773d440d0c
commit a97fef89b0
17 changed files with 26 additions and 26 deletions

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -2,19 +2,19 @@ LVL3_INT_VECTOR equ $6c
SCREEN_WIDTH equ 320
SCREEN_HEIGHT equ 256
SCREEN_WIDTH_BYTES equ (SCREEN_WIDTH/8)
if SCREEN_COLORS == 32
if SCREEN_COLORS==32
SCREEN_BIT_DEPTH equ 5
endif
if SCREEN_COLORS == 16
if SCREEN_COLORS==16
SCREEN_BIT_DEPTH equ 4
endif
if SCREEN_COLORS == 8
if SCREEN_COLORS==8
SCREEN_BIT_DEPTH equ 3
endif
if SCREEN_COLORS == 4
if SCREEN_COLORS==4
SCREEN_BIT_DEPTH equ 2
endif
if SCREEN_COLORS == 2
if SCREEN_COLORS==2
SCREEN_BIT_DEPTH equ 1
endif
SCREEN_RES equ 8 ; 8=lo resolution, 4=hi resolution

View File

@ -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)

View File

@ -2,22 +2,22 @@ LVL3_INT_VECTOR equ $6c
SCREEN_WIDTH equ 320
SCREEN_HEIGHT equ 256
SCREEN_WIDTH_BYTES equ (SCREEN_WIDTH/8)
if SCREEN_COLORS == 64
if SCREEN_COLORS==64
SCREEN_BIT_DEPTH equ 6
endif
if SCREEN_COLORS == 32
if SCREEN_COLORS==32
SCREEN_BIT_DEPTH equ 5
endif
if SCREEN_COLORS == 16
if SCREEN_COLORS==16
SCREEN_BIT_DEPTH equ 4
endif
if SCREEN_COLORS == 8
if SCREEN_COLORS==8
SCREEN_BIT_DEPTH equ 3
endif
if SCREEN_COLORS == 4
if SCREEN_COLORS==4
SCREEN_BIT_DEPTH equ 2
endif
if SCREEN_COLORS == 2
if SCREEN_COLORS==2
SCREEN_BIT_DEPTH equ 1
endif
SCREEN_RES equ 8 ; 8=lo resolution, 4=hi resolution

View File

@ -7,7 +7,7 @@
entry:
lea CUSTOM,a6
bsr init
bsr.s installColorPalette
bsr installColorPalette
.mainLoop:
bsr waitVerticalBlank

View File

@ -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)

View File

@ -7,7 +7,7 @@
entry:
lea CUSTOM,a6
bsr init
bsr.s installColorPalette
bsr installColorPalette
.mainLoop:
bsr waitVerticalBlank

View File

@ -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)

View File

@ -7,7 +7,7 @@
entry:
lea CUSTOM,a6
bsr init
bsr.s installColorPalette
bsr installColorPalette
.mainLoop:
bsr waitVerticalBlank

View File

@ -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.

View File

@ -1,7 +1,7 @@
SCREEN_WIDTH equ 320
SCREEN_HEIGHT equ (256+(256*INTERLACE))
SCREEN_WIDTH_BYTES equ (SCREEN_WIDTH/8)
if HAM_MODE == 1
if HAM_MODE==1
SCREEN_BIT_DEPTH equ 6
else
SCREEN_BIT_DEPTH equ 5

View File

@ -1,7 +1,7 @@
SCREEN_WIDTH equ 320
SCREEN_HEIGHT equ (256+(256*INTERLACE))
SCREEN_WIDTH_BYTES equ (SCREEN_WIDTH/8)
if HAM_MODE == 1
if HAM_MODE==1
SCREEN_BIT_DEPTH equ 6
else
SCREEN_BIT_DEPTH equ 5

View File

@ -1,7 +1,7 @@
SCREEN_WIDTH equ 320
SCREEN_HEIGHT equ (256+(256*INTERLACE))
SCREEN_WIDTH_BYTES equ (SCREEN_WIDTH/8)
if HAM_MODE == 1
if HAM_MODE==1
SCREEN_BIT_DEPTH equ 6
else
SCREEN_BIT_DEPTH equ 5