Initial Commit

This commit is contained in:
dan
2022-09-11 01:13:35 -04:00
commit 0c6fcc3aab
4 changed files with 36 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.bin

9
C264k/Part2/P2.1-JP0.z80 Normal file
View File

@@ -0,0 +1,9 @@
;Pt2.1-JP0.z80
org 0 ;Compile code to run at address $0000
loop: ;Label - an address referenced elsewhere in the code
jp loop ;Actual Z80 code - jump to 'loop'
; https://bread80.com/2020/08/13/couch-to-64k-part-2-adding-rom-to-our-breadboard-z80-computer/
; starts at address 0, advances to address 1, loops back to address 0

View File

@@ -0,0 +1,9 @@
;Pt2.2-Write.z80
org 0
ld hl,42 ;Load 42 into the HL register pair
loop:
ld (hl),a ;Load contents of the A register into the memory
;address pointed to by HL
jr loop

17
C264k/nop.z80 Normal file
View File

@@ -0,0 +1,17 @@
org 0
loop:
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jp loop: