Is there a prefered tool on PC for preping ApleSoft Basic rather than codeing directly on the Apple II?
Groove
Is there a prefered tool on PC for preping ApleSoft Basic rather than codeing directly on the Apple II?
Groove
Please support the defense of Ukraine.
Direct or via Unclutter App
No Ads.
No Trackers.
No Social Media.
All Content Locally Hosted.
Built on Free Software.
We have complied with zero government requests for information.
~ Est. 1999 ~
A pillar of corporate stability since the second millenium.
© 1999-2999 Tom Owad
I use AppleWin, a very nice Apple II emulator for Windows.
2nd AppleWin. Between cut'n'paste, drag'n'drop, access through Ciderpress, and more, it's a pretty good solution.
I code in a Text or Programming editor on the PC or on a Mac.
I use AppleWin and Shift+Insert (yuck!) to paste code that I've copied from the editor.
Or, I use KEGS and Paste to a Terminal window the code that I've copied from the editor.
KEGS Configuration F4
Serial Ports = Only use sockets 6501-6502
Serial Output = Mask off high bit
√ Modem on port 0 (slot 1) = Simple socket emulation mode]PR#1
telnet> mode character
Yes, there are several tools available for preparing AppleSoft Basic programs on a PC rather than coding directly on the Apple II. Some of the popular options include: AppleWin: AppleWin is an Apple II emulator for Windows that allows you to write and test AppleSoft Basic programs on your PC. It comes with a built-in BASIC editor and debugger, which makes it a popular choice among developers. Virtual II: Virtual II is another Apple II emulator that runs on Windows. It has a user-friendly interface and comes with several built-in tools for programming in AppleSoft Basic, including a BASIC editor and debugger. Notepad++: Notepad++ is a popular text editor that supports syntax highlighting for AppleSoft Basic. You can write your code in Notepad++ and then transfer it to your Apple II using a transfer tool like ADTPro. AppleCommander: AppleCommander is a command-line tool that allows you to manipulate Apple II disk images on your PC. You can use it to create, edit, and transfer AppleSoft Basic programs to your Apple II.
I use AppleWin too, mainly because of the convenience of <Shift><Insert>. The pasting gets a bit slow for Basic programs that are more than 100 lines, but then all you have to do it set the emulation speed to fastest and it's instant!
If you just need to transfer data in or out of the Apple II environment, just use Apple //jse or Apple ][js which runs a well-equipped emulator in your browser.
For doing something simple, it's quicker than downloading or running AppleWin.
Apple //jse emulates Apple //e with your choice of configurations:
Apple ][js emulates an Apple ][ or Apple ][ Plus with your choice of:
You can choose from an assortment of 191 pre-loaded disks, or load a disk of your own. After modifying a disk, save it by clicking the diskette icon and save it into your browser's storage or download it to a file.
For simple tasks, it really is faster than AppleWin. For example...click either of those links to start the emulator, click the folder icon beside "Disk 1" to open the disk library, choose Interactive Fiction category, choose Zork I and click Open.
Just imagine, ten seconds after reading this sentence you will be playing the Apple ][ edition of Zork. Or another game of your choice. Just click above!
David's Midnight Magic.png
Oopsie, so this was a really old question.
But my recommendation really does enable you to use a PC or any computer to promptly develop Applesoft so I stand by my recommendation. Just last week I used Apple ][js to construct an Applesoft program that enables the user to
LIST
line 440044.David's Midnight Magic.png
Ordinarily it's not possible to LIST line 440044 because:
LIST 440044
when there isn't a line 440044. Really! Try it yourself!Yes, but these don't seem to support direct paste of your Basic program (like <Shift><Insert> in AppleWin), allowing for instant run after edit, or instant compile after edit using Einstein.
Also I disagree that they are faster than AppleWin, since you only install it once, and then it's much faster to run. They do have potential, but they still fall short on many aspects, like being able to emulate a mouse, a mockingboard, a CP/M card or evan handlng 32 MB images like Total Replay.
Another issue I ran into with the in-browser emulators is that some programs check if their diskette is read-only. In AppleWin you simply make the disk image file read-only and that simulates the diskette being read-only. There doesn't seem to be a way to do this in the in-browser emulators.
...hands down AppleWin is the winner for what you are wanting to do. And as previously mentioned, coupled with CiderPress's features they make up a duo that is hard to beat.
I don't use Windows (don't even have it), but the same things work with Linapple on Linux and utilities similar to Ciderpress for moving things in and out of disk images. I would assume that you can do the same things on MacOS but I haven't tried it.
S.Elliott, I appreciate the suggestion about JS based emulators and how to LIST line 440044. :D
There are a lot of choices depending on what you want to do and your preferences.
calormen.com is a "classic" for online Applesoft: https://www.calormen.com/jsbasic/
CyanIIde is pretty cool: https://paleotronic.com/applesoft/
We had a discussion a while ago about building our own toolkits. For example: a tokenizer / detokenizer written in Perl.
https://www.applefritter.com/content/toolkit-applesoft-basic
The tokenizer/detokenizer is one of my projects. I've been thinking about extending it and writing a full fledged interpreter. I also did tokenizer/detokenizer for Woz's INTBASIC and I was thinking about doing one for the Apple /// Extended Business BASIC. I've always thought that porting Extended Busines BASIC to the //e, //c, IIgs would be an interesting project. It would take some serious shoehorning to do, but should be possible, especially with a machine with > 128k.
Ooo, fun! Let's test some edge cases!
That tangent about line 440044 accidentally turns out to be useful for demonstrating that these platforms don't always match the behavior of a real Apple II:
jsbasic.png
cyaniide.png
Some of those things are near, but I've thought that something that would be interesting would be to write a basic interpreter that would run an AppleSoft like dialect more native on a modern platform to allow people to develop new programs for the modern platform similar to the experience that they had writing BASIC programs on an Apple II back in the day. It's a different angle. It might also be useful for people who have existing BASIC programs that they wanted to port to a modern platform. Some interesting things to port forward might be things like the old EAMON adventure games.
One of the closest things to what I'm talking about has been around a long time... Chipmunk BASIC, which was originally for the Mac, but also has a port to Linux.
http://www.nicholson.com/rhn/basic/
Another thing I've thought about is writing a cross compiler. I played a little bit a while back with Tom Porter's Idiot BAISC compiler. It's got a lot of cool ideas but is pretty limited. A compiler that ran on a modern platform that could read tokenized (or text source) AppleSoft programs and generate 6502 assembler output that a cross assembler could assemble into native 6502 code would be pretty interesting. The old school BASIC compilers didn't really work that way, and they always had some serious limitations because of having to run on the native platform.