Thread View: comp.sys.apple2.programmer
1 messages
1 total messages
Started by mpower
Tue, 15 Sep 2026 04:21
Re: Storage buffer for a text file?
Author: mpower
Date: Tue, 15 Sep 2026 04:21
Date: Tue, 15 Sep 2026 04:21
28 lines
2338 bytes
2338 bytes
I hadn't considered banking, thanks. ---- Original Message ---- Subject: Re: Storage buffer for a text file? From: John Ames <commodorejohn@gmail.com> Date: Mon, 14 Sep 2026 08:21:19 -0700 Newsgroups: comp.sys.apple2.programmer Article: 8261 On Sat, 12 Sep 2026 23:46:13 -0000 (UTC) mpower <mpower-codeworks@gmail.com> wrote: > I'm already using a lot of RAM for the MGTK, and 32kb seems like a > "safe" number. It is working fine, I'm just hesitant about getting > into the RAM expansion cards because I don't really understand that > yet. > > Any thoughts? 32KB is reasonable enough for a small editor (worked for Notepad, all those years!) That said, while I don't know what your internals look like, any editor with an internal structure more complex than "single contiguous text buffer" should be pretty straightforward to extend to arbitrarily large sizes. Banking makes things a little more complex, but if you're already using something like a linked list of lines or chunks then you only need to tag the links with a bank #, in addition to the pointer itself.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads