Initial Commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.bin
|
||||||
9
C264k/Part2/P2.1-JP0.z80
Normal file
9
C264k/Part2/P2.1-JP0.z80
Normal 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
|
||||||
9
C264k/Part2/Pt2.2-Write.z80
Normal file
9
C264k/Part2/Pt2.2-Write.z80
Normal 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
17
C264k/nop.z80
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
org 0
|
||||||
|
loop:
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
jp loop:
|
||||||
Reference in New Issue
Block a user