Beagle Bros. Peex and Pokes Chart ------------ ---- --- ----- ----- Apple Zero Page ======================================= decimal hex --------------------------------------- 32 Text window left edge $20 33 Text window width $21 34 Text window top edge $22 35 Text window bottom $23 36 Horizontal Cursor Pos. $24 37 Vertical Cursor Pos. $25 43 Boot Slot * 16 (after boot) $2B 44 Lo-Res Line End Point $2C 48 Lo-Res Color * 17 $30 50 Text Output Format $32 (POKE 50,63=INVERSE; POKE 50,255=NORMAL; POKE 50,127=FLASH ) 51 Prompt character $33 78 Random number field $4E.4F 79 See 78 103 Start of Applesoft Rom $67.68 104 See 103 105 Lomem $69.6A 106 See 105 107 Start of Array Spacee $6B.6C 108 See 107 109 End of Array Spacee $6D.6E 110 See 109 111 Start of String Storage $6F.70 112 See 111 115 Himem $73.74 116 See 115 117 Line# being executed $75.76 118 See 117 119 Line# where program stpd $77.78 120 See 119 121 Address of line executing $79.7A 122 See 121 123 Current data line# $7B.7C 124 See 123 125 Next Data Address $7D.7E 126 See 125 127 Input or Data Address $7F.80 128 See 127 129 Last Used Variable Name $81.82 130 See 129 131 Last used Variable Address $83.84 132 See 131 175 End of Applesoft program $AF.B0 176 See 175 214 RUN Flag $D6 216 ONERR Flag $D8 218 Line # of ONERR Error $DA.DB 219 See 128 222 ONERR Error Code $DE Peek(222) Codes --------------- 0=?Next w/out For 1=Language Not Available 2=Range Error 3=Range Error 4=Write-Protected 5=End of Data 6=File not Found 7=Volume Mismatch 8=I/O Error 9=Disk Full 10=File Locked 11=Syntax Error (DOS) 12=No Buffers Available 13=File Type Mismatch 14=Program too large 15=Not Direct Command 16=?Syntax Error (FP) 22=?RETURN w/out GOSUB 42=?out of DATA 53=?Illegal Quantity 69=?Overflow 77=?Out of Memory 90=?Undef'd Statement 107=?Bad Subscript 120=?Redim'd Array 133=?Division by Zero 163=?Type Mismatch 176=?String Too Long 191=?Formula Too Complex 224=?Undef'd Function 254=?Reenter 255=Ctrl-C Interrupt