My Apple IIe: Intro to Applesoft Basic (episode 1)

Sdílet
Vložit
  • čas přidán 2. 06. 2024
  • This simple introduction to AppleSoft Basic is demonstrated on my working Apple IIe from 1983. It's meant for beginners, so it doesn't dive deeply into any one topic.
    This 30 minute video lightly covers the following topics:
    00:00 Introduction
    02:10 Apple IIe emulators
    02:40 Power on, variables (numeric, string)
    06:44 Moving around the text screen
    09:36 Common error codes
    11:32 Procedural programming in RAM
    15:08 Editing and debugging
    16:30 Low resolution graphics
    20:47 High resolution graphics
    24:18 Beeps and audio
    28:28 Sign off
    Part 2 of this video series can be viewed here: • My Apple IIe: Intro to...
    Part 3 of this video series can be viewed here: • My Apple IIe: Intro to...
    If you want to try AppleSoft Basic for yourself on a Windows PC, the best Apple IIe emulator I've found is called AppleWin and it is located here:
    github.com/AppleWin/AppleWin
    Scroll down to the bottom of the GitHub page to click on the release link to download the zip file. Admin rights are not necessary. Just unzip the file and run the executable. Then click the Disk 1 button and choose the default (master) file. Then click the Apple button to boot up!
    More Apple IIe videos: • Apple IIe Stuff

Komentáře • 100

  • @dadabellmon8672
    @dadabellmon8672 Před 3 lety +5

    MANNN YOU JUST BROUGHT BACK SO MANY MEMORIES! Imagine writing a nice program long program especially a game, but you're a 10th grader with no job and your parents won't buy any disks, lol, so you have to leave the computer on all day until you can get some disks to save it. Then after 4 days you finally get grandma to give you the money you ride your bike to radio shack to get the disks . Get home and your mother is in your room cleaning up and she unplugged the computer... Luckily I wrote down the code in my notebook, lol!!

    • @kurt.leucht
      @kurt.leucht  Před 3 lety +2

      Oh, man! The struggles of programming back in the early 80s!

  • @prepare2qualify111
    @prepare2qualify111 Před 6 lety +26

    Please NEVER remove this video, this is so helpful!

    • @kurt.leucht
      @kurt.leucht  Před 6 lety +9

      Thanks! I plan to leave the video here forever.

    • @williamcorcoran8842
      @williamcorcoran8842 Před 3 lety

      In order to sell A mybbvb Bb Bbb BBBb bombi iis and ppleWorks, just about every //e was bundled with ant lî80 column card. The real question was memory. Apple introduced a specia
      slot BM in NJ with the //e that facilitate
      Mnntnbth

  • @Kylefassbinderful
    @Kylefassbinderful Před 3 lety +10

    You're so awesome for making these videos. Stuff like this dies away by default and people like you keep it alive. Thank you Kurt!

    • @kurt.leucht
      @kurt.leucht  Před 3 lety +2

      Thanks for the encouragement! That gives me a boost of energy to keep making these videos!

  • @andydork
    @andydork Před rokem +2

    The video starts off a little slow, but hang in there - this AppleSoft Basic tutorial is the best I’ve found. Super helpful going through the error codes. And very clear with your thought path when explaining the concepts. Thank you!

    • @kurt.leucht
      @kurt.leucht  Před rokem +1

      You just made my day! And your encouraging words will help me make more of these videos!

  • @FChen-ps1qv
    @FChen-ps1qv Před 4 lety +6

    When I was a kid my dad bought us an Apple II+. I did a ton of programming on it. It was the coolest thing ever. My very first programming class used Apple computers also. Your video brought back a lot of memories.

    • @kurt.leucht
      @kurt.leucht  Před 4 lety +1

      My parents bought me an Apple because my grade school was buying Apples. Changed my life!

  • @philippeimac
    @philippeimac Před 2 lety +1

    Thank you for this trip back in time in my childhood

  • @bjbell52
    @bjbell52 Před rokem +1

    While all my friends had Apple's I had an Atari 400. Their basic was NOT based upon Microsoft Basic and I always read reviews that trashed Atari Basic. Finally, the guy that owned the company that wrote Atari Basic demonstrated the power of Atari Basic over Microsoft Basic and it really showed how much better Atari Basic could be. The first thing in this video was how Apple Basic only looked at the first 2 characters of a variable. Atari Basic looked at 128 characters. Yet, in the program the variable names were reduced to 1 byte of memory. Certain commands could use variables instead of constants so one could program 10 VerbTable = 10000. Later one could write Restore VerbTable or Gosub Verbtable and it would work.

  • @ThecrackpotdadPlus
    @ThecrackpotdadPlus Před 3 lety +4

    This is great, brings back so many memories. Thank you.

    • @kurt.leucht
      @kurt.leucht  Před 3 lety +2

      Thanks for the feedback! That's what keeps me motivated to do more of these videos!

  • @2bitmarketanarchist337
    @2bitmarketanarchist337 Před 2 lety +1

    Just bought an apple 2e because of nostalgia from playing educational games on them in the early 2000s in Elementary school, but decided to learn to code on it instead of game. Thanks so much for posting these

  • @luismiguelgramagerevert9754

    Thank's a lot. It´s the best video I´ve ever seen about Applesoft Basic. Of course, I'm going to see the other episodes!! Greetings from Spain!!

  • @FlashGordonMurr
    @FlashGordonMurr Před 5 lety +3

    Very interesting video. I picked up a complete working apple iie and being a commodore guy this is fascinating. I want to play around and write some programs. Thx for sharing.

  • @tertia4808
    @tertia4808 Před rokem +1

    Very nice intro to programming BASIC on Apple iie. Thanks.

  • @davidgrossman5741
    @davidgrossman5741 Před 2 lety +1

    Wow, that really takes me back to when I was a kid learning BASIC for the first time. Thanks!

  • @antonboludo8886
    @antonboludo8886 Před rokem +1

    Amazing that it still works.

  • @hongkongcantonese501
    @hongkongcantonese501 Před 2 lety +1

    Wonderful, nostalgic presentation. Great organization, soothing and clear pronunciation, and an awesome shirt.

  • @RetroComputo
    @RetroComputo Před 7 měsíci +1

    Interesante el dialecto Basic de la Apple II, gracias por compartir tu conocimiento.

  • @thomo5
    @thomo5 Před rokem +1

    Très bonne vidéo, j'adore!

  • @primodernious
    @primodernious Před 5 lety +4

    looks like a fun computer to program on.

    • @kurt.leucht
      @kurt.leucht  Před 4 lety +2

      I think so! But I'm a little strange! Ha!

  • @yuli3873
    @yuli3873 Před rokem +1

    This is beyond awesome, thank you so so much!

  • @spiritzion
    @spiritzion Před rokem +1

    i just got an apple 2 emulator, so this is very helpful ^^

  • @CrazyTechReviews
    @CrazyTechReviews Před 3 lety +3

    hey! this is definitely one of the best applesoft tutorials on the internet and I really appreciate you making this! just one suggestion though, is it possible you could add some timestamps to it to make navigating it easier?

    • @kurt.leucht
      @kurt.leucht  Před 3 lety +1

      Yes! Very good suggestion! Thanks a ton!

  • @keimahane
    @keimahane Před 2 lety +1

    my first computer was an Apple iie extended (128k) with dual floppy drive. I bought it with some of my Navy reenlistment bonus money in 1986. Wish I still had it tbh.

  • @jacksonhoyt4127
    @jacksonhoyt4127 Před 2 lety +1

    great job bro

  • @Zestypanda
    @Zestypanda Před 7 lety +1

    Great video.

  • @frankschweizer6762
    @frankschweizer6762 Před 5 lety +4

    Excellent !!!
    Any more on Apple basic?

    • @kurt.leucht
      @kurt.leucht  Před 5 lety +5

      Since there some demand, I suppose I should come up with another video. Thanks for your interest!

  • @Opry99er
    @Opry99er Před 5 lety +1

    Well done.

  • @Ace1000ks19751982
    @Ace1000ks19751982 Před 6 lety +8

    It's been 31 years since I used Apple Basic.

    • @rueliotube
      @rueliotube Před 4 lety +1

      Yikes, same for me.

    • @CrazyTechReviews
      @CrazyTechReviews Před 3 lety +2

      it's been about 3 minutes since i used apple basic lol

    • @kurt.leucht
      @kurt.leucht  Před 3 lety

      You can still use it on the various emulators that are out there! It's kinda fun!

    • @Ace1000ks19751982
      @Ace1000ks19751982 Před 3 lety

      @@kurt.leucht Yes, you can do it on the AppleWin emulator.

  • @classicnosh
    @classicnosh Před 2 lety +1

    AppleWin is a very well made emulator. It supports a Real Time Clock, Mouse, Mockingboard and many other features.

    • @kurt.leucht
      @kurt.leucht  Před 2 lety

      Awesome!

    • @MichaelPohoreski
      @MichaelPohoreski Před rokem

      Thanks for the appreciation. I joke that Tom does all the hard work of keeping it up-to-date while Nick and myself just chip in where we can and share credit. :-)

  • @JohnAranita
    @JohnAranita Před 2 lety +1

    This was my very first programming language.

    • @kurt.leucht
      @kurt.leucht  Před 2 lety

      Me too! Not a bad first language!

    • @JohnAranita
      @JohnAranita Před 2 lety

      @@kurt.leucht Later @ a community college, I was introduced to Pascal. It was a challenge, yet I loved it because I could do even more, than BASIC.

  • @neleabels
    @neleabels Před 4 lety +1

    Do I understand the reflections in the monitor correctly? You are recording the screen with an opened laptop in front of the camera? Pretty nice idea.

    • @kurt.leucht
      @kurt.leucht  Před 4 lety

      Well, yes. I was having some technology challenges back in early 2017, you see. Nowadays I record using my iPhone and a wired lapel mic.

  • @raphaelrezende4790
    @raphaelrezende4790 Před rokem +1

    More apple // videos, assembly maybe

    • @kurt.leucht
      @kurt.leucht  Před rokem

      I don't have much experience with assembly, but you're not the first viewer to request it, so I will do a video on the topic one of these days. Wish I had more time to do these videos more often.

  • @zachmazzaferri2548
    @zachmazzaferri2548 Před 2 lety

    Can i plot vertical lines in GR I know i can in HGR

  • @DrawMakeCode
    @DrawMakeCode Před 7 lety +2

    Hi, Kurt. I really enjoyed your video. I found a Website (from Joshua Bell) where you can program and run Applesoft BASIC inside the browser using JAVA without having to download anything. About 98% of the language is functional with the programmer updating the JAVA script as more tools become available. The website is calormen.com/jsbasic/ I absolutely love it! It takes me back to when I was a teenager learning to program simple graphic visualizations (and typing in the programs from Compute! Magazine - remember those?). Now, I program cellular automata, strange-attractors and visualization. I want to learn how to make Perlin Noise on an Apple. Thanks so much for sharing!!

  • @FD-ze1xg
    @FD-ze1xg Před 3 lety +1

    Hi there!
    Can you help me?
    If I try to do the HGR2 command for Hi-res when the program finishes I see the screen all black and I can no longer access to be able to write...
    I use an Applewin emulator.
    Thanks!
    Do not remove this video!!!

    • @kurt.leucht
      @kurt.leucht  Před 2 lety

      Yeah, you will need to switch back to text mode manually. Your command line and cursor are hiding beneath the graphics pallet. Just type TEXT and hit the RETURN key.

    • @kurt.leucht
      @kurt.leucht  Před 2 lety

      Thanks for the encouragement! I will never remove these videos!!!

  • @In-N-Out333
    @In-N-Out333 Před 6 lety +2

    How come a lot of apple II computers have two disk drives instead of just one?

    • @kurt.leucht
      @kurt.leucht  Před 6 lety +2

      You needed a second drive to make backups of your floppy disks. These computers did not have internal hard drives back then. And they also had very limited memory.

    • @neleabels
      @neleabels Před 4 lety +1

      Because in these times, HDs were absolutely unaffordable for the average Joe. Therefore you worked from disks only and having a second disk for data storage or for copying purposes really made life easier. You could write protect your valuable software or system disks and write on an empty data disk, for example.
      Even early PCs often had two disk drives plus an HDD. Sometimes in combination of a 5 1/4" and a 3 1/2" drive for increased flexibility.

    • @MichaelPohoreski
      @MichaelPohoreski Před rokem

      @@kurt.leucht Technically you can make backups with only floppy drive -- you just need to swap disks a few times since a disk can hold up to ~160 KB while the Apple 2 typically has 64KB or 128KB.

  • @AllGamingStarred
    @AllGamingStarred Před 7 lety +2

    is there a way to use other colors other than white without resorting to variables?

    • @BryonLape
      @BryonLape Před 6 lety +1

      What do you mean? Color is a keyword command, not a variable. Issuing "COLOR=9" in low res mode makes the color orange.

    • @gregorymalchuk272
      @gregorymalchuk272 Před 4 lety +1

      @@BryonLape
      Does anybody know how to scroll up and down in the Applesoft BASIC line editor? Like to see previous code or the files in a really long CAT command?

    • @markkuether652
      @markkuether652 Před 4 lety

      ​@@gregorymalchuk272 Sorry, misunderstood your question. The computer does not store previous lines in memory - not enough memory to really do that effectively.

    • @Kylefassbinderful
      @Kylefassbinderful Před 3 lety +1

      @@gregorymalchuk272 you can't scroll up and down and edit lines of code like a modern editor. You would wanna display no more than 20 lines at a time. There are 24 possible rows of text at a time but you wanna leave room for your cursor. You can list a specific section of lines at a time and that's the best you can do. Most source code will have line numbering as increments of 5 or 10 or more and this is because if you need to go back to your code and add a line you will have 4 empty spaces for new lines. You can't tell BASIC to move instructions from one line to another. The best you can do is retype a line starting with a new line number and then type in the previous line number with a space which will effectively delete that (original) line.
      example:
      List 10, 55

    • @Kylefassbinderful
      @Kylefassbinderful Před 3 lety +1

      All Gaming to answer your question, No you may not color code your variables. Color is only reserved for graphics. All text will be the same color white or green on a green monochrome monitor. CRT monitors might show a rainbow around text and that's artifacting generated by the hardware. It's completely normal.

  • @sebastiankaiser3263
    @sebastiankaiser3263 Před 4 lety

    Is it normal, that the second Disk Drive does Not make any noise and does not glow ?

    • @kurt.leucht
      @kurt.leucht  Před 4 lety

      Hmmm. It's been a while since I've had both floppy drives actually working, so I don't remember if both normally spin up during power application or just disk number 1. I think my disk number 2 is maybe broken. But it may also be the case that only number 1 normally spins up on power. Maybe a super smart viewer can answer for sure.

    • @markkuether652
      @markkuether652 Před 4 lety

      @@kurt.leucht I still have my original Apple IIe. I'm pretty sure only the first disk spins on boot. The systems were designed to be capable of only using 1 disk, so the boot sequence only needed to use that one.

    • @MichaelPohoreski
      @MichaelPohoreski Před rokem

      @@markkuether652 It IS possible to boot off of drive 2 but that is an advanced topic of understanding the disk drive I/O switches. (i.e. You can patch ProDOS to boot from drive 2 with a one byte patch.)

  • @nathanjohnson9715
    @nathanjohnson9715 Před 2 lety +1

    I just bought an apple 2e, and mine doesn't distinguish between upper and lowercase, anyone know why mine is different?

    • @kurt.leucht
      @kurt.leucht  Před 2 lety

      Some older Apple computer models, like the Apple II+, did not have lower case capability at all. They did not even include a CAPS-LOCK key. Are you sure you have an Apple IIe model?

    • @nathanjohnson9715
      @nathanjohnson9715 Před 2 lety

      @@kurt.leucht I mean, it says Apple //e on top. I suppose a previous owner could've made some alterations? I just got it about a month ago off of ebay. on the little tab next to the open apple key mine says "enhanced". Is that maybe an indication of a different model?

    • @nathanjohnson9715
      @nathanjohnson9715 Před 2 lety

      @@kurt.leucht I should also point out that when I say it doesn't "distinguish between upper and lowercase" what I meant was that it doesn't care what case a command is typed in. It'll happily "PRINT 10*2" just as easily as "print 10*2" (I'm seeing now that maybe my wording caused some confusion)

  • @jacksong6226
    @jacksong6226 Před 3 lety +1

    The apple iie actually started production in late 82

  • @aaronjennings8385
    @aaronjennings8385 Před 2 lety

    40 years ago I'd have moved into your house. Lol.

  • @bjbell52
    @bjbell52 Před rokem +1

    The reason for two blacks and two whites has to do with the way the Apple hardware handles screen memory. Just read this article, it explains it better than I could.
    en.wikipedia.org/wiki/Apple_II_graphics#High-Resolution_(Hi-Res)_graphics

    • @kurt.leucht
      @kurt.leucht  Před rokem +1

      So it's Woz's fault! Very complicated stuff. Thanks for the link!