Slow down LIST and DIR

Hardware Hacking, Programming and Game Solutions/Cheats
Post Reply
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Slow down LIST and DIR

Post by zephyr »

This routine allows you to slow down LIST and DIR. The machine code routine is position independent, and compatible with all versions of DragonDOS, SuperDOS, DOSPlus, and DeltaDOS.

Run the BASIC program, and save the machine code routine to Cassette or Disk (add +1 to the displayed end address when saving to disk) ready to load quickly when needed. EXEC hooks/unhooks the routine from the BASIC operating system. The value of location 118 (default 1) can be altered to decrease/increase the speed of displayed text.

Code: Select all

0 'SLOW-LIST V1.0
1 'FOR THE DRAGON 32/64
2 'BY STEPHEN J WOOLHAM
3 '
10 START = 31984
20 CLS:PRINT"WRITING MACHINE CODE..."
30 FOR I=START TO START+70:READ A$:X=VAL("&H"+A$):CSUM=CSUM+X:POKEI,X:NEXT
40 CLS:IF CSUM<>6562 THEN PRINT"ERROR IN DATA LINE":END
50 PRINT"START ADDRESS =";START
60 PRINT"END ADDRESS =";START+70
70 PRINT"EXEC ADDRESS =";START
80 END
100 DATA 30,8D,0,2E,BC,1,68,27,1A,B6,1,67,FE,1,68,A7,8D,0,31,EF,8D,0,2E,CC,1,7E,97,76,F7,1,67,BF,1,68,39,A6,8D,0,1D,AE,8D,0,1A,B7,1,67,BF,1,68,39,34,7,96,6F,26,A,D6,76,27,6,DD,8D,96,8E,26,FC,35,7,39,39,39
Post Reply