#applesoftbasic

2025-10-06

#Retro/#RetroComputing Commitment Day 2:

I while back, I had to "teach" a CS overview class. Within it was a programming tour - a tour of some languages. I wanted to be complete and include older stuff as well. Ended up finding this site:

calormen.com/jsbasic/

#Apple][ #AppleSoftBasic in Javascript. It was a nice way to teach #BASIC but include HiRes Graphics as well (not so easy with #C64; #C128 could have worked too but I couldn't find a decent online emulator with easy data entry).

Here is one of the programs I had the students work/make:

10 HGR2
50 FOR X=0 TO 279
60 Y=25*SIN(0.1*X)+96
63 IF Y <= 96 THEN HCOLOR=3
65 IF Y > 96 THEN HCOLOR=5
70 HPLOT X, Y
75 Y=25*COS(0.1*X+14)+96
76 IF Y <= 96 THEN HCOLOR=3
77 IF Y > 96 THEN HCOLOR=5
78 HPLOT X, Y
80 NEXT X

The site even has an Applesoft BASIC Quick Reference for handiness.

Enjoy!

#c64whiz_rcc

Edit: Added #c64whiz_rcc hashtag.

Apple][ screen showing the output of the program: a sin wave and it's reflection.  The top halve is white and the lower half is orange.
2025-09-18

Hey hey, I posted an Apple BASIC game you can play right in your browser.

Press the button to drop bombs and try to time it to blow up the boat. Runs in an Apple II BASIC emulator.

If you like this subscribe via RSS, I post one BASIC program a week, refactored from old type-in listings

basic-code.bearblog.dev/apples

#retroComputing #gameDev #devLog #appleii #applesoftBasic

mmphosismmphosis
2025-01-16

1 GR : DEF FN C(I) = ASC ( MID$ (A$,I)) - 58: FOR C = 1 TO 7: READ A$: COLOR= FN C(1): FOR I = 2 TO LEN (A$) STEP 3: VLIN FN C(I), FN C(I + 1) AT FN C(I + 2): NEXT I,C
2 DATA"K?E?@ba??@CC@DEA",S@EC??DCCD@EE,W?EG,V?EI@AJBCK?EL,Q?EN??OBBOEEO@APCDP,L@DR??SEES@DT,M?EVCDWABXCDY?EZ

rosettacode.org/wiki/Rainbow#A

Screen selection of a "RAINBOW" program running on the Apple II.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst