News on the go!
News:| Tabular Is My Simple and Easy ZX81 Word Processor |
| Programming: 09/25/17 - 00:23:33 Posted By: Steven |
Add in some letters. It didn’t take long to complete and was soon printing out a lowercase alphabet to my printer. I even added some new punctuation to complete the font. Although passible, it could use a little work. For example, the stems are a bit high the n, causing confusion with h. Yet, for all its flaws it is readable and unique. As an example, a compilation of the Tabular instruction manual:
Mix in an an interface.
Since the ZX81 has limited memory, I only allowed four pages to be created. Because of the way the routine worked, you couldn’t use the last character in the line. Thus, it puts a burden on the person entering the text to format the text as they want while typing. Since you can’t actually use lowercase letters, I made it the default. Using inverse characters would print them in capitals, or in the new punctuation. The scheme works well and it is easy to read on the screen. Now that I had text, I realized that I needed to provide options to use what was provided. Having reserved the bottom two lines for commands, I take the user to a new screen where they can decide what to do with each page. Add some flourish.
The RESTART option is confusing, but is used to reinsert the modified print routine. Although not needed for the online version, to use it for real you should reserve memory before loading the program. The manual tells you how all that works, but neglects to note that it clears memory when run. Be sure to save so you can reload your text, otherwise you’ll need to renter it. If all looks well, you can finally print each page using LPRINT command. Note that it only prints the page you are on. This is handy as you can remove each page as you print. This is because the TS2040 printer uses a paper roll, so there is no clear break. Since enter even four pages of text can be quite tedious, I added the option to SAVE your work. It is one of the few times I did that from within a program. It works quite well, even if using a tape was almost a tedious. It took a long time to save and load programs. Think five to ten minutes long. Quite different from today’s almost instant loads. The last two options were DELETE, that cleared the current page. And QUIT, which stops the program. Neither is needed. You can delete a page by entering nothing when using GO OVER. As for quite, you can break the program or turn off the computer instead. But having both completed the look of the program. Some lumps are normal. Although the input routine works, I would like to get rid of it. Instead, I wish I’d spent more time on the edit mode. It wouldn’t have taken much to make that routine more functional. As is, the word processing functionality of the program is a bit weak. Although not evident if using the JavaScript ZX81 emulator, Tabular uses a mix of When you edit the page, you’ll see a good amount of flickering. For some reason, I reprint the array each time you move or edit a character. Because of the use of Outside of that, there are only trivial issues. I need to correct some spelling errors, and using better command names. I did fix a bug in the edit command where I used the wrong line length. Leaving it would have been confusing and ruined the functionality of the command. Wrap it up. Originally published at www.reids4fun.com on September 25, 2017. |
----------------------- All comments and posts are owned by the poster. [End News] | [Return Home] |