Subject: Re: AppleSoft memory usage Path: lobby!newstf02.news.aol.com!portc01.blue.aol.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: rich12345@my-deja.com Newsgroups: comp.sys.apple2.programmer Date: Fri, 30 Jun 2000 23:49:04 GMT Organization: Deja.com - Before you buy. Lines: 117 Message-ID: <8jjblc$36j$1@nnrp1.deja.com> References: <8je5lj$806$1@nnrp1.deja.com> NNTP-Posting-Host: 209.79.221.202 X-Article-Creation-Date: Fri Jun 30 23:49:04 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98) X-Http-Proxy: 1.1 x54.deja.com:80 (Squid/1.1.22) for client 209.79.221.202 X-MyDeja-Info: XMYDJUIDrich12345 In article <8je5lj$806$1@nnrp1.deja.com>, bobryan9@my-deja.com wrote: > I am looking for the following: > > Memory locations containing: From Appendix L: Applesoft Zero Page Usage (pg 140-141 applesoft II basic programming reference manual) Location(s) (in hex) (use) ------------------------------------------------------------- $0-$5 Jump instructions to continue in APPLESOFT (reset 0G return for applesoft is equivalent to reset ctrl C return for integer BASIC $A-$C Location for USR Functions jump instruction. See USR function description $D-$17 General purpose counters/flags for applesoft. $20-$4F APPLE II system monitor reserved locations $50-$61 General purpose pointers for APPLESOFT. $62-$66 Result of last multiply/divide $67-$68 Pointer to beginning of program. Normally set to $0801 for ROM version or $3001 for RAM (cassette tape) version $69-$6a Pointer to start of simple variable space. Also points to end of the program plus 1 or 2, unless changed with LOMEM: statement $6b-$6C Pointer to beginning of array space $6D-$6e Pointer to end of numering storage in use $6f-$70 pointer to start of string storage. Strings are stored from here to the end of memory $71-$72 General pointer $73-$74 Highest location in memory available to APPLESOFT plus one. Upon initial entry to Applesoft, is set to the highest RAM memory location available $75-$76 Current line number being executed $77-$78 "old line nyumber". set up by a ctrl c, STOP or end statement. Gives line number at which execution was interrupted. $79-$7A "old text pointer". points to location in memory for statement to be executed next. $7B-$7C Current line number from which DATA is being read. $7D-$7E Points to absolute location in memory from which DATA is being READ. $7F-$80 Pointer to current source of INPUT. Set to $201 during and INPUT statement. During a READ statement is set to the DATA in the program it is READing from $81-$82 Holds the last-used variable's name. $83-$84 Pointer to the last-used variable's value. $85-$9C General Usage $9D-$A3 Main floating point accumulator. $A4 General use in floating poing math routines $A5-$AB Secondary floating point accumulator $AC-$AE General usage flags/pointers $AF-$b0 Pointer to end of program (NOT changend by LOMEM: ) $B1-$C8 CHRGET routine. Applesoft calls here everytime it wants another character $B8-$B9 Pointer to last character obtained through the CHRGET routine. $c9-$CD Random Number $D0-$D5 High-resolution graphics scratch pointers $D8-$DF Onerr pointers/scratch. $E0-$E2 High-resolution graphics X and Y coordinates. $E4 High-resolution graphics color byte $E5-$E7 General use for High-resolution graphics. $E8-$E9 Pointer to beginning of shape table $EA Collision counter for high-resolution graphics. $F0-$F3 General use flags $F4-$F8 Onerr pointers Rich Sent via Deja.com http://www.deja.com/ Before you buy.