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

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *