My Apple IIe: Intro to Applesoft Basic (episode 1)
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
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!!
Oh, man! The struggles of programming back in the early 80s!
Please NEVER remove this video, this is so helpful!
Thanks! I plan to leave the video here forever.
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
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!
Thanks for the encouragement! That gives me a boost of energy to keep making these videos!
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!
You just made my day! And your encouraging words will help me make more of these videos!
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.
My parents bought me an Apple because my grade school was buying Apples. Changed my life!
Thank you for this trip back in time in my childhood
My pleasure! Thanks for watching!
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.
Interesting stuff! Thanks!
This is great, brings back so many memories. Thank you.
Thanks for the feedback! That's what keeps me motivated to do more of these videos!
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
Awesome!
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!!
Thanks! 😃
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.
Awesome! Thanks for your interest!
Very nice intro to programming BASIC on Apple iie. Thanks.
Thank you for watching!
Wow, that really takes me back to when I was a kid learning BASIC for the first time. Thanks!
You're welcome!
Amazing that it still works.
I agree!
Wonderful, nostalgic presentation. Great organization, soothing and clear pronunciation, and an awesome shirt.
Thanks for watching!
Interesante el dialecto Basic de la Apple II, gracias por compartir tu conocimiento.
Thank you!
Très bonne vidéo, j'adore!
Thank you!
looks like a fun computer to program on.
I think so! But I'm a little strange! Ha!
This is beyond awesome, thank you so so much!
Glad you liked it!
i just got an apple 2 emulator, so this is very helpful ^^
Awesome! Thanks for watching!
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?
Yes! Very good suggestion! Thanks a ton!
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.
That's a great first computer!
great job bro
Appreciate it
Great video.
Thanks!
Excellent !!!
Any more on Apple basic?
Since there some demand, I suppose I should come up with another video. Thanks for your interest!
Well done.
Thank you!
It's been 31 years since I used Apple Basic.
Yikes, same for me.
it's been about 3 minutes since i used apple basic lol
You can still use it on the various emulators that are out there! It's kinda fun!
@@kurt.leucht Yes, you can do it on the AppleWin emulator.
AppleWin is a very well made emulator. It supports a Real Time Clock, Mouse, Mockingboard and many other features.
Awesome!
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. :-)
This was my very first programming language.
Me too! Not a bad first language!
@@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.
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.
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.
More apple // videos, assembly maybe
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.
Can i plot vertical lines in GR I know i can in HGR
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!!
Awesome! Thanks!
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!!!
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.
Thanks for the encouragement! I will never remove these videos!!!
How come a lot of apple II computers have two disk drives instead of just one?
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.
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.
@@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.
is there a way to use other colors other than white without resorting to variables?
What do you mean? Color is a keyword command, not a variable. Issuing "COLOR=9" in low res mode makes the color orange.
@@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?
@@gregorymalchuk272 Sorry, misunderstood your question. The computer does not store previous lines in memory - not enough memory to really do that effectively.
@@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
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.
Is it normal, that the second Disk Drive does Not make any noise and does not glow ?
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.
@@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.
@@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.)
I just bought an apple 2e, and mine doesn't distinguish between upper and lowercase, anyone know why mine is different?
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?
@@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?
@@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)
The apple iie actually started production in late 82
Cool! Thanks for the correction!
40 years ago I'd have moved into your house. Lol.
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
So it's Woz's fault! Very complicated stuff. Thanks for the link!