nobuh / napple1

Apple I emulator on a text terminal or console. using ncurses,
GNU General Public License v2.0
21 stars 3 forks source link

Commands in autotyping proposal #9

Closed fstark closed 1 week ago

fstark commented 1 week ago

This feature suggestion is probably a bit more controversial:

As the apple1 has no TAB key, I added macro-commands in the AUTOTYPING.TXT file. For instance, the 'F' command switches to "fast" mode, and is invoked like:

<TAB>F
00.7F
<TAB>F

This will dump the content of the 00.7F memory space instantaneously.

Current commands are mirroring a subset of the existing commands:

Typically, I would do things like:

<TAB>FB
10 PRINT "HELLO, WORLD."
20 GOTO 10
<TAB>Dsample
<TAB>Q

To capture a core containing the above BASIC program tokenized.

The changes are a bit more intrusive than earlier patch, as the current code of napple1 has a tendency to try to communicate with the end-user from within core functions.

This is very useful to me, I will maintain a branch but will make the work to port it to the trunk and document it correctly if you think it is broadly useful.

fstark commented 1 week ago

I am realizing that I am dragging napple1 in a direction that may not the one you want. I have already added plenty of additional stuff, mostly geared at making development of software for real apple1 easier, with little regards to user experience, performance, realism or backward compatibility. I am closing this, I will list the differences between versions in the forked page fstark/napple1.

fstark commented 1 week ago

(forgot to close)

nobuh commented 1 week ago

I think your original commands is great feature for real educational purposes.

napple1 is a just for fun toy project and I'm happy your fstark/napple1 progress.