Skip to content

Commit

Permalink
yes
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialPixelBrush committed Mar 23, 2022
1 parent c95f587 commit de060cd
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 8 deletions.
8 changes: 6 additions & 2 deletions MISC/10PRINT.2.ASM.BAK
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
; Enable Display
LD A,0b00001100
OUT (0),A

; Set CGRAM address
LD A,0b01000000
OUT (0),A
Expand All @@ -18,7 +22,7 @@ LD A,0b00001
OUT (1),A
LD A,0b00001
OUT (1),A
LD A,0b00000
LD A,0b00001
OUT (1),A
; Should be backslash

Expand All @@ -38,7 +42,7 @@ LD A,0b10000
OUT (1),A
LD A,0b10000
OUT (1),A
LD A,0b00000
LD A,0b10000
OUT (1),A
; Should be slash

Expand Down
12 changes: 10 additions & 2 deletions MISC/10PRINT.ASM
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
; Enable Display
LD A,0b00001100
; LCD init
LD A,0b00111000 ; set screen mode
OUT (1),A
LD A,0b00111000 ; set screen mode
OUT (1),A
LD A,0b00001100 ; turn on display
OUT (1),A
LD A,0b00000001 ; clear display
OUT (1),A
LD A,0b00000110 ; set entry mode
OUT (1),A

; Set CGRAM address
Expand Down
Binary file modified MISC/10PRINT.BIN
Binary file not shown.
8 changes: 4 additions & 4 deletions MISC/10PRINT.TAB
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LOOP=76:53:0:C:\Users\letsp\Desktop\Pix80-Code\MISC\10PRINT.ASM
PRINTBACKSLASH=93:63:0:C:\Users\letsp\Desktop\Pix80-Code\MISC\10PRINT.ASM
EXIT=97:67:0:C:\Users\letsp\Desktop\Pix80-Code\MISC\10PRINT.ASM
RND=101:71:0:C:\Users\letsp\Desktop\Pix80-Code\MISC\10PRINT.ASM
LOOP=92:61:0:C:\Users\tvirtman.SVA\Downloads\Pix80-Code\MISC\10PRINT.ASM
PRINTBACKSLASH=109:71:0:C:\Users\tvirtman.SVA\Downloads\Pix80-Code\MISC\10PRINT.ASM
EXIT=113:75:0:C:\Users\tvirtman.SVA\Downloads\Pix80-Code\MISC\10PRINT.ASM
RND=117:79:0:C:\Users\tvirtman.SVA\Downloads\Pix80-Code\MISC\10PRINT.ASM
22 changes: 22 additions & 0 deletions MISC/RCOUNT.ASM
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
; Counter
; LCD init
LD A,0b00111000 ; set screen mode
OUT (1),A
LD A,0b00111000 ; set screen mode
OUT (1),A
LD A,0b00001100 ; turn on display
OUT (1),A
LD A,0b00000001 ; clear display
OUT (1),A
LD A,0b00000110 ; set entry mode
OUT (1),A
LD A,0b10000000 ; set DRAM Address
OUT (1),A

loop:
LD A,0b00000010 ; go home
OUT (1),A
LD A,R
OUT (0),A
JR loop
HALT
19 changes: 19 additions & 0 deletions MISC/RCOUNT.ASM.BAK
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
; Counter
; LCD init
LD A,0b00111000 ; set screen mode
OUT (1),A
LD A,0b00111000 ; set screen mode
OUT (1),A
LD A,0b00001100 ; turn on display
OUT (1),A
LD A,0b00000001 ; clear display
OUT (1),A
LD A,0b00000110 ; set entry mode
OUT (1),A
LD A,0b10000000 ; set DRAM Address
OUT (1),A

LD A,R
ADD A,48
OUT (0),A
HALT
Binary file added MISC/RCOUNT.BIN
Binary file not shown.
1 change: 1 addition & 0 deletions MISC/RCOUNT.ERR
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2 O 1002 0 0 ?
1 change: 1 addition & 0 deletions MISC/RCOUNT.TAB
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LOOP=24:16:0:C:\Users\tvirtman.SVA\Downloads\Pix80-Code\MISC\RCOUNT.ASM

0 comments on commit de060cd

Please sign in to comment.