Jump to content
IGNORED

The Southsider - Text Kernel Take 2


RSS Bot

Recommended Posts

I've done a little more work on my text kernel. It still displays only 12 lines of text, but the code is cleaner and it now shows lower-case letters and numbers (the text is from "The Hunchback of Notre Dame"):

 

 

 

 

 

 

blogentry-6563-1202927829_thumb.png

 

 

 

 

 

 

//

 

 

I can get this up to 14 lines by overlapping the buffer creation code with the display code (there are lots of free cycles in the kernel). The problem is that this requires four versions of the copying and kernel code, which takes up nearly the whole 4K and leaves very little room for the actual text. This could be solved by copying the text into zero page memory and then doing a bank-switch into the kernel code. However, the copying code would require 24 iterations of the following code (24x10 cycles = 240 cycles = 3.2 scanlines), which would negate any savings with this method!

 

lda (TEXTPTR),Y
sta BUFFER+?
dey

 

This is probably as good as I can get the code without pre-computing character pairs (as in supercats method), but this would be difficult with lower-case characters ...

 

Chris

 

Attached File(s)

 

zip.gif

textkernel2.zip ( 7.43K )

Number of downloads: 1

 

 

 

 

http://www.atariage.com/forums/index.php?a...;showentry=4520

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...