Basic Profiler for 130XE (PROFILE1.BAS)
Basic Profiler for 130XE by Eric Woodruff, 101 (BASIC, MAC/65 source)
Description
Basic Profiler for 130XE by Eric Woodruff, 101 (BASIC, MAC/65 source)
From the Antic disk of Antic: October/November 1989 - Vol. 8 No. 6 — disk A.
From the Antic Software Archive at atarimagazines.com. The program remains the property of its author and publisher.
What is in this file
Atari BASIC program · 1.5 KB
- Dialect
- Atari BASIC
- Lines
- 27
- Variables
START,I,A,HI,LO
BASIC listing (27 lines)
10 REM BASIC PROFILER, PART 1
20 REM BY STAN LACKEY
30 REM XE VERSION BY ERIC WOODRUFF
40 REM (c) 1989, ANTIC PUBLISHING
50 REM
60 REM If reserving memory, remove REM on line 80 and add REM to line 100.
70 REM Don't drop number of pages reserved below 16! It's the minimum reservation so as not to cause problems.
80 REM START=PEEK(106)*256-105:POKE 106,PEEK(106)-16:POKE 740,PEEK(106)
90 REM Otherwise, use the following line. Place the address after "START="
100 START=1536
110 GRAPHICS 0:? :? " Loading Profiler...."
120 FOR I=START TO START+101:READ A:POKE I,A:NEXT I
130 DATA 173,254,4,240,95,152,72,173,1,211,72,160,0,177,138,133,208,200,177,138,48,67,10,24,6,208,105
140 DATA 0,201,64,176,4,160,0,240,18,201,128,176,4,160,1,208,10,201,192,176,4,160,2,208,2,160,3
150 DATA 41,63,9,64,133,209,152,10,10,24,105,193,141,1,211,160,0,177,208,24,105,1,145,208,144,14,200
160 DATA 177,208,105,0,145,208,208,5,169,0,141,254,4,104,141,1,211,104,168,104,64
170 REM Set up timer interrupt.
180 HI=INT(START/256):LO=START-(HI*256)
190 POKE 528,LO:REM VTIMR1 VECTOR LOW
200 POKE 529,HI:REM VTIMR1 VECTOR HI
210 POKE 53761,0:REM VOLUME TO ZERO
220 POKE 53760,255:REM FREQ OF TMR1
230 POKE 53769,255:REM TURN ON TIMERS
240 POKE 16,193:REM SET TMINT1
250 ? "Done...":? :? "Next:":? :? "LOAD the program to be Profiled.":?
260 ? :? "ENTER ";CHR$(34);"D:PROFILE2.LST";CHR$(34):?
270 ? :? "RUN"
