no r+ opty, no bad seppuku frame
This commit is contained in:
+1
-2
@@ -1894,7 +1894,7 @@ EndPutChar
|
|||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
|
||||||
; ------------------------------------------
|
;--------------------------------------------------
|
||||||
.proc PutChar4x4
|
.proc PutChar4x4
|
||||||
; puts 4x4 pixels char on the graphics screen
|
; puts 4x4 pixels char on the graphics screen
|
||||||
; in: dx, dy (LOWER left corner of the char)
|
; in: dx, dy (LOWER left corner of the char)
|
||||||
@@ -1903,7 +1903,6 @@ EndPutChar
|
|||||||
; all pixels are being drawn
|
; all pixels are being drawn
|
||||||
; (empty and not empty)
|
; (empty and not empty)
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
; rts
|
|
||||||
cpw dy #(screenheight-1)
|
cpw dy #(screenheight-1)
|
||||||
jcs TypeChar.EndPutChar ;nearest RTS
|
jcs TypeChar.EndPutChar ;nearest RTS
|
||||||
cpw dy #(4)
|
cpw dy #(4)
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
;atari800 -run ${outputFilePath}
|
;atari800 -run ${outputFilePath}
|
||||||
;---------------------------------------------------
|
;---------------------------------------------------
|
||||||
|
|
||||||
OPT r+ ; saves 12 bytes :O
|
;OPT r+ ; saves 12 bytes :O
|
||||||
|
|
||||||
;---------------------------------------------------
|
;---------------------------------------------------
|
||||||
.macro build
|
.macro build
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+20
-22
@@ -1798,13 +1798,9 @@ EndOfTypeLine4x4
|
|||||||
jsr TL4x4_top
|
jsr TL4x4_top
|
||||||
adb ResultY #4 ;next line
|
adb ResultY #4 ;next line
|
||||||
|
|
||||||
;seppuku
|
;sure?
|
||||||
mwa #areYouSureText LineAddress4x4
|
mwa #areYouSureText LineAddress4x4
|
||||||
mwa #((ScreenWidth/2)-(8*4)) LineXdraw ; centering
|
jsr _sep_opty
|
||||||
mva ResultY LineYdraw
|
|
||||||
jsr TypeLine4x4
|
|
||||||
adb ResultY #4 ;next line
|
|
||||||
|
|
||||||
;bottom frame
|
;bottom frame
|
||||||
mva ResultY LineYdraw
|
mva ResultY LineYdraw
|
||||||
jsr TL4x4_bottom
|
jsr TL4x4_bottom
|
||||||
@@ -1825,17 +1821,22 @@ skip01
|
|||||||
@
|
@
|
||||||
mva #$ff plot4x4color
|
mva #$ff plot4x4color
|
||||||
mwa #lineClear LineAddress4x4
|
mwa #lineClear LineAddress4x4
|
||||||
mwa #((ScreenWidth/2)-(8*4)) LineXdraw ; centering
|
jsr _sep_opty
|
||||||
mva ResultY LineYdraw
|
|
||||||
jsr TypeLine4x4
|
|
||||||
adb ResultY #4 ;next line
|
|
||||||
|
|
||||||
dec di
|
dec di
|
||||||
bne @-
|
bne @-
|
||||||
|
|
||||||
quit_areyousure
|
quit_areyousure
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
|
||||||
|
.proc _sep_opty
|
||||||
|
mwa #((ScreenWidth/2)-(8*4)) LineXdraw ; centering
|
||||||
|
mva ResultY LineYdraw
|
||||||
|
jsr TypeLine4x4
|
||||||
|
adb ResultY #4 ;next line
|
||||||
|
rts
|
||||||
|
.endp
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
.proc DisplaySeppuku
|
.proc DisplaySeppuku
|
||||||
;using 4x4 font
|
;using 4x4 font
|
||||||
@@ -1856,10 +1857,7 @@ seppuku_loop
|
|||||||
|
|
||||||
;seppuku
|
;seppuku
|
||||||
mwa #seppukuText LineAddress4x4
|
mwa #seppukuText LineAddress4x4
|
||||||
mwa #((ScreenWidth/2)-(8*4)) LineXdraw ; centering
|
jsr _sep_opty
|
||||||
mva ResultY LineYdraw
|
|
||||||
jsr TypeLine4x4
|
|
||||||
adb ResultY #4 ;next line
|
|
||||||
|
|
||||||
;bottom frame
|
;bottom frame
|
||||||
mva ResultY LineYdraw
|
mva ResultY LineYdraw
|
||||||
@@ -1868,22 +1866,22 @@ seppuku_loop
|
|||||||
;clean seppuku
|
;clean seppuku
|
||||||
|
|
||||||
mva #3 di
|
mva #3 di
|
||||||
mva #4 ResultY
|
;mva #4 ResultY
|
||||||
@
|
lda #4
|
||||||
|
sta ResultY
|
||||||
|
loplop ;@
|
||||||
mwa #lineClear LineAddress4x4
|
mwa #lineClear LineAddress4x4
|
||||||
mwa #((ScreenWidth/2)-(8*4)) LineXdraw ; centering
|
jsr _sep_opty
|
||||||
mva ResultY LineYdraw
|
|
||||||
jsr TypeLine4x4
|
|
||||||
adb ResultY #4 ;next line
|
|
||||||
|
|
||||||
dec di
|
dec di
|
||||||
bne @-
|
bne loplop ;@-
|
||||||
|
|
||||||
dec fs
|
dec fs
|
||||||
jne seppuku_loop
|
jne seppuku_loop
|
||||||
|
|
||||||
quit_seppuku
|
quit_seppuku
|
||||||
rts
|
rts
|
||||||
|
|
||||||
.endp
|
.endp
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
.proc DisplayResults ;
|
.proc DisplayResults ;
|
||||||
|
|||||||
Reference in New Issue
Block a user