Skip to content

Commit

Permalink
Merge pull request #29 from chiralos/main
Browse files Browse the repository at this point in the history
video: make video write report bytes written
  • Loading branch information
Zeal8bit authored Jun 3, 2024
2 parents 84ca3f8 + f7cc32f commit b400a25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion target/zeal8bit/video.asm
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,11 @@ video_write:
; Page 3 is kernel RAM
; We don't need to use page1 for VRAM since we will use I/O bus, map it and print the buffer
MAP_TEXT_CTRL()
jp print_buffer
; Write should always be full-length, so BC is unchanged
push bc
call print_buffer
pop bc
ret


; Read not supported yet.
Expand Down

0 comments on commit b400a25

Please sign in to comment.