read ebook on nes ?
Moderator: Moderators
read ebook on nes ?
Hello, thank you for this wonderfull forum !
Do you know the GameBoy Book Reader ( http://www.mqp.com/fun/index.html ), a tool for transforming .txt file to .gb file (open source software) ? It's amazing and useful, no ?
I would like the same tool, but txt2nes file.
This tool of my dream exists ? if not, do you think it would be easy to adapt GameBoy Book Reader to make NES Book Reader ? (I dont program cuputer, it's why I ask the question)
Do you know the GameBoy Book Reader ( http://www.mqp.com/fun/index.html ), a tool for transforming .txt file to .gb file (open source software) ? It's amazing and useful, no ?
I would like the same tool, but txt2nes file.
This tool of my dream exists ? if not, do you think it would be easy to adapt GameBoy Book Reader to make NES Book Reader ? (I dont program cuputer, it's why I ask the question)
Yes, it would be easy to code such a tool.francois wrote:ok, it's mean it can be easy to make a such tool, it's that ?
I don't know how much text you'd be able to put in a standard cart. Maybe some dictionary compression can be used to maximize the space. The HTML thing is interesting... a simple (very simple!) HTML interpreter for the NES would be fun to have... well, I'm not up for a task like this right now.A txt2nes software (or html2nes, why not) would be realy great to use with the PDVD 8088 !
Don't those chinese computers that are clones of the NES come with this kind of software? Maybe there are dumps of those... they probably require a keyboard and may not be 100% compatible with an actual NES, though.I'm very interesting by utilities in .nes (calendar, calculator, text player, dictionary, etc...) for my PDVD
I made a text viewer on NES once a long time ago, for this amusing crazy story someone wrote. I had to reformat it manually to 30 column though, which means there's a lot of hyphens and line breaks. I would've released it, but it's just another of one of my old progs that only runs on NESticle.
A variable-width font rendered into CHR-RAM, with the formatting etc. handled automatically would be a lot nicer.
There's a web browser that almost works on NES: http://www.sics.se/~adam/contiki/apps/webbrowser.html
I imagine that should work as an HTML viewer. It's written in C and compiles with cc65, but I think the "conio" library for the NES needs to be finished or rewritten.
A variable-width font rendered into CHR-RAM, with the formatting etc. handled automatically would be a lot nicer.
There's a web browser that almost works on NES: http://www.sics.se/~adam/contiki/apps/webbrowser.html
I imagine that should work as an HTML viewer. It's written in C and compiles with cc65, but I think the "conio" library for the NES needs to be finished or rewritten.
The biggest obstacle I see to implementing a full-screen variable-width text reader is the bankswitching. In order to fill the screen with variable-width text even in monochrome, you're going to need to use both pattern tables, and if you plan on scrolling the text (as opposed to just rewriting it), you're going to have to rewrite the background base address ($2000.4) twice per frame in order to see both pattern tables. This means you're going to have to either hit sprite 0 and waste time waiting on the second CHR bankswitch, or you'll need a board with both a scanline IRQ and CHR RAM. The only common board like this is TGROM (e.g. Mega Man 4), and even that's not all that common.
But if you'd accept a reader with only pageup/pagedown (not lineup/linedown), then it would only need sprite 0 at a constant position, and it would be easy to make a text reader with plain-old UOROM (mapper 2), which just about everything supports.
And are we going to need support for non-US-ASCII codepages such as latin-1, etc.?

font data

as seen on tv
But if you'd accept a reader with only pageup/pagedown (not lineup/linedown), then it would only need sprite 0 at a constant position, and it would be easy to make a text reader with plain-old UOROM (mapper 2), which just about everything supports.
And are we going to need support for non-US-ASCII codepages such as latin-1, etc.?

font data

as seen on tv
If it was possible to have this kind of tool, it would be great ! In the gameboy world they have such tool (txt2gb and html reader with hyperlink etc...)
Gameboy is such different than NES ? Do you thionk it's difficult to adapt this kind of program (it's only text and sting, and I think GB is 8 bit too)
I have very little dream :
1) You have a text
2) With a soft on Windows, you import the text.
3) Eventualy, you can select chapter and title for menu.
4) You clic on a button, and you have a .nes file.
5) on your NES console , you can read the text, scroll with up and down, turn page with right and left, and have a menu with chapters.
If I have a source code in NES langage of a simple book of that kind, I think I can make a tool to transform a txt in nes file in Windows.
Gameboy is such different than NES ? Do you thionk it's difficult to adapt this kind of program (it's only text and sting, and I think GB is 8 bit too)
I have very little dream :
1) You have a text
2) With a soft on Windows, you import the text.
3) Eventualy, you can select chapter and title for menu.
4) You clic on a button, and you have a .nes file.
5) on your NES console , you can read the text, scroll with up and down, turn page with right and left, and have a menu with chapters.
If I have a source code in NES langage of a simple book of that kind, I think I can make a tool to transform a txt in nes file in Windows.
Stuck with fixed width font, it is very easy to write text on the NES' screen.
Load each letter in pattern table and write the corresponding tile number on name tables.
If you arrange the letters in pattern table in maneer they matches ASCI definition, you just have to copy the text data to the nametable and go to the next row when a return character is encountered.
Load each letter in pattern table and write the corresponding tile number on name tables.
If you arrange the letters in pattern table in maneer they matches ASCI definition, you just have to copy the text data to the nametable and go to the next row when a return character is encountered.
Useless, lumbering half-wits don't scare us.
Code: Select all
|Fixed width fonts in a 30 |
|column window aren't nearly as|
|easy to read as variable width|
|fonts. If your DVD player's |
|NES emulator supports |
|the right mappers, then I |
|see no reason to compromise |
|functionality, especially when|
|a variable width font could |
|look this good: |

It's called the half-uncial 't'. Well at least it's not a crossDwedit wrote:As usual, your lowercase t's are still ugly, looking far too much like z's.

Hmmm... Exodus for NES had multiple choice questions about the story of Moses. Thanks for the suggestion for M4, if I ever get to itI actually though Tetanus on Drugs had an unimplemented "Drug Quiz" feature after misreading the quit option.
