home.social

#applesoftbasic — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #applesoftbasic, aggregated by home.social.

  1. #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!

  2. 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