Posted by mark.
May
1
Posted by mark.
Apple Basic emulator in Javascript
I started programming on an Apple IIe at around age 11 and if you too enjoy reminiscing, check out Joshua Bell’s Apple Basic emulator implemented in Javascript.
Since my move (back) to using Apple I think my code has improved – if nothing else then from a feeling of happy nostalgia.
…And I couldn’t help myself. I wrote a similar program as a kid – except back then we had a green monochrome screen.
10 HOME : HGR
20 W = 279 : H = 159
25 C = 1
30 FOR I = 0 TO 1 STEP 0.005
40 HCOLOR= C / 10
45 C = C + 1
46 IF C > 160 THEN C = 1
50 HPLOT W / 2,H TO W * I,0
60 NEXT
There is 1 comment to this post.
Add Your Comment.
Previous Post
« Thought for the day Next Post
May Day Seattle March »
« Thought for the day Next Post
May Day Seattle March »
Ha, that’s awesome! I spent a good portion of my early teen years on this stuff, can’t wait to try this out.