There were two MacBASIC books published - I have both. They're pretty easy to come by secondhand. Mine were both in great condition and neither cost me more than a few dollars. Although the software was never released, pre-release versions were widely distributed via bulletin boards etc.
Macsbug code is all in the datafork of the macsbug "application". At least one version had a Mandelbrot drawing application in the resource fork (where 68k code and other resources live) so that it did something if you double clicked on it, but that was completely unrelated to the actual...
I love the 6502. Cleary it has limitations, but in many respects it is a magnificent chip. The Z80 is quite different, and also grand in its way. There are many things that are easier to do on one than the other, but given the choice I tend to go with the 6502. If only they'd put the extra...
The fuse is rated 1.6A/250V and has blown. There was no storm or other problem. The board is certainly charred - but only after I remove the dodgy components and clean it up will I be able to see the full extent of the damage.
Ken
OK - it's taken me until today to give this more attention. To keep things going I just swapped the Plus motherboard and back case with my 512Ke.
Here are a couple of pics of the analog board. Clearly the damage is quite extensive...
Google for macsbug - there are several guides about. Or buy a second hand copy of Scott Knaster's Mac programming book - that's the best reference.
Ken
Actual page is here:
http://school.anhb.uwa.edu.au/personalpages/kwessen/web/stories/EarlyMacStories.html#system085
From the main page, you follow the link from here:
http://school.anhb.uwa.edu.au/personalpages/kwessen/web/Collection.html#macintosh
And the single board on top of the Apple II...
My webpage (see my profile) has a link to a hacked 0.85 that runs as a standalone system - that is without the Guided Tour and Training menu etc.
Works in miniVmac and on a real 128K mac - and I have pictures to prove it! :-)
I just had a fairly catastrophic failure of my Mac Plus analog board. A few components are seriously charred, and though I haven't removed the board yet to check over thoroughly (it's too late at night to start doing this properly), I expect there will be too much damage for anything other than...
I'd recommend looking at the makefile to determine dependencies, then using the standard MPW build scripts to create a new makefile (from the Build menu). These tools are easy to use, and you will end up with a makefile appropriate for the compiler you have installed.
There must be a problem with your event loop. WaitNextEvent/GetNextEvent should handle FKEYs for you. How do you know event handling is going on? The System 9 behaviour sounds like the event is queued but not read by your application. What are you using for the event mask? What about sleep...
When writing mathematical software to run on a FPU-less machine, using fixed point rather than floating point for non-integer calculations usually results in significant speed improvement. This approach is well supported in SANE, but comes with some loss of precision.
Ken
I have a couple of versions of Switcher. There's a little bit about them (and other multitasking options) on my apple collection web page here http://school.anhb.uwa.edu.au/personalpages/kwessen/web/stories/EarlyMacStories.html#multitasking
Ken