Search found 8 matches

by stefan1
Fri Sep 05, 2025 4:28 am
Forum: Programming
Topic: Microsoft 6502 Basic released under MIT license
Replies: 11
Views: 4205

Re: Microsoft 6502 Basic released under MIT license

Grant Searle http://www.searle.wales/ (look for the minimum 6502 section; I can't point there directly) took the listings from Pagetable and edited them to work with ca65. I modified them slightly to work with the a65 assembler I prefer.

edit: https://www.pagetable.com/?p=774
I’m looking for a ...
by stefan1
Thu Sep 04, 2025 1:53 pm
Forum: Programming
Topic: Microsoft 6502 Basic released under MIT license
Replies: 11
Views: 4205

Re: Microsoft 6502 Basic released under MIT license

That code was written for the MACRO-10 assembler, a tool running on PDP-10.

It depends on a macro file not published.

6502 opcodes were implemented as macros. As far as I understand, instructions with multiple addressing modes have multiple names, for instance LDA (absolute?) and LDAI (immediate ...
by stefan1
Mon Sep 01, 2025 4:44 am
Forum: Programming
Topic: Text Editor Shifting Mechanics
Replies: 95
Views: 22827

Re: Text Editor Shifting Mechanics


Anyone ever use AppleWorks Writer? I never used it in anger, but the secretaries and admin assistants at the uni I was at used it way back to ptoduce some fairly large documents... I wonder if there are any technical documents about how that worked internally... Maybe we're re-inventing wheels ...
by stefan1
Sun Aug 31, 2025 4:02 pm
Forum: Programming
Topic: Text Editor Shifting Mechanics
Replies: 95
Views: 22827

Re: Text Editor Shifting Mechanics

Hi Gordon,

Linked arrays in different forms are a common solution indeed.

Impressive work on ”Ruby”!
by stefan1
Sun Aug 31, 2025 3:56 pm
Forum: Programming
Topic: Text Editor Shifting Mechanics
Replies: 95
Views: 22827

Re: Text Editor Shifting Mechanics

commodorejohn wrote:
(It occurs that, if you're using a linked-list-of-chunks structure, making the chunks 256 bytes cuts your pointer size in half.)
Yep, only storing MSB.
by stefan1
Sun Aug 31, 2025 12:47 pm
Forum: Programming
Topic: Text Editor Shifting Mechanics
Replies: 95
Views: 22827

Re: Text Editor Shifting Mechanics

Stefan, I've come up with an extremely similar design, and hadn't noticed this thread. I'm glad it's working out!

An interesting thing is that if you have this block allocation method (which is effectively like a filesystem, but with the ability to shove new sectors into the middle of the "file ...
by stefan1
Sun Aug 31, 2025 4:23 am
Forum: Programming
Topic: Text Editor Shifting Mechanics
Replies: 95
Views: 22827

Re: Text Editor Shifting Mechanics


So, more than an idea or a design, you've implemented it. Marvellous!
Yes, it’s the Nano clone ”X16 Edit” for Commander X16. It’s built into the ROM nowadays.

As pointed out, most of the memory strategy isn’t a unique idea.

If I would start over, I’d like to check how well the piece table ...
by stefan1
Sat Aug 30, 2025 10:49 am
Forum: Programming
Topic: Text Editor Shifting Mechanics
Replies: 95
Views: 22827

Re: Text Editor Shifting Mechanics

Hi,

I know this thread is kind of old, but there’s some recent activity and I find the subject very interesting.

I had thought about this exact problem for years before attempting to write a 6502 based text editor.

It is based on the following model:

- The text buffer is divided into 256 byte ...