Skip to content

Commit

Permalink
Clarify paging example
Browse files Browse the repository at this point in the history
  • Loading branch information
lajohnston committed Apr 7, 2024
1 parent 0e82473 commit 048c976
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/06-paging/main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

.section "lots of 1s" superfree
lotsOf1s:
.asc " Lots of 1s "
.asc "I'm a bank containing lots of 1s"
.asc " "

.rept $3800
Expand All @@ -64,7 +64,7 @@

.section "lots of 2s" superfree
lotsOf2s:
.asc " Lots of 2s "
.asc "I'm a bank containing lots of 2s"
.asc " "

.rept $3800
Expand Down Expand Up @@ -107,7 +107,9 @@
interrupts.enable

; Infinite loop
-: jr -
-:
halt
jr -
.ends

;====
Expand Down

0 comments on commit 048c976

Please sign in to comment.