Hi, I'm still new to this site but I'm finding it very useful.
IS this a good site to ask BASIC programming questions on? If not, can anyone recommend a site that is good for this? I'm working specifically with an Apple II Plus, Applesoft II BASIC, if that matters.
One question I have is: how do you know how large (in bytes) your BASIC program is in memory? And how do you know at what memory address the program starts at?
Thanks!
dvan,
Do you have any of the Basic Manuals?
If not, go here:
http://www.1000bit.it/support/manuali/manuali.asp
Yes, this is a good site.
You can also ask on the Usenet newsgroup, comp.sys.apple2.programmer
There is a web interface to this newsgroup at Mac GUI.
Applesoft programs start at $800.
(Which is why they get wiped out when booting DOS)
100 HOME110 PRINT "APPLESOFT BASIC"120 PRINT130 POKE 768,165: POKE 770,76140 POKE 771,218: POKE 772,253150 READ A,S$,T$160 PRINT "$";170 POKE 769,A + 1: CALL 768180 POKE 769,A: CALL 768190 PRINT " ";210 PRINT A"-"A + 1;230 POKE 769,250240 PRINT " $";250 POKE 250,A: CALL 768260 PRINT "-$";270 POKE 250,A + 1: CALL 768280 PRINT : PRINT TAB( 7);290 PRINT S$ " " T$300 IF A < > 115 THEN 150310 PRINT320 CLEAR330 IF FRE (0) < 0 GOTO 360340 PRINT FRE (0);350 GOTO 380360 PRINT FRE (0) + 65536;380 PRINT " BYTES FREE.";390 END400 DATA103410 DATA"START OF"420 DATA"PROGRAM"450 DATA175460 DATA"END OF"470 DATA"APPLESOFT PROGRAM"500 DATA105510 DATA"LOMEM: START OF"520 DATA"VARIABLE SPACE"600 DATA107610 DATA"START OF"620 DATA"ARRAY SPACE"700 DATA109710 DATA"END OF"720 DATA"ARRAY SPACE"800 DATA111810 DATA"START OF"820 DATA"STRING STORAGE"900 DATA115910 DATA"HIMEM"920 DATA"+ 1"