Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #6355
| From | John Ames <commodorejohn@gmail.com> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: Storage buffer for a text file? |
| Date | 2026-09-14 08:21 -0700 |
| Organization | A place where nothing fits quite right |
| Message-ID | <20260914082119.00003da3@gmail.com> (permalink) |
| References | <1184o84$696m$1@dont-email.me> |
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.
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Storage buffer for a text file? mpower <mpower-codeworks@gmail.com> - 2026-09-12 23:46 +0000
Re: Storage buffer for a text file? John Ames <commodorejohn@gmail.com> - 2026-09-14 08:21 -0700
Re: Storage buffer for a text file? mpower <mpower-codeworks@gmail.com> - 2026-09-15 04:21 +0000
csiph-web