home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magic Disk 64
/
Magic_Disk_64_90-02_1990_-_de_Side_B.d64
/
bm_device-change
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
545b
|
18 lines
30000 rem **************************
30010 rem * module : device change *
30020 rem * var: x,c,po *
30030 rem **************************
30040 phi:wina3,12,6,16,11,1,0," -------------- _ -------------- "
30050 rem+"_[155] device up _ device down _[158] exit! _ device #"
30060 flash"- [144]dev-change -[157][157][157][157]"
30070 x=peek(50512):gosub30120
30080 poke198,0:ach12,10,16,5
30090 ifpo=1thenx=x+1:gosub30120:goto30080
30100 ifpo=2thenx=x-1:gosub30120:goto30080
30110 setdnx:wclose:pli:return
30120 ifx=12thenx=8
30130 ifx=7thenx=11
30140 ifx<10thenprint"";x;"[157][157][157]0";:goto30160
30150 printx;
30160 print"[157][157][157][157]";:forc=1to300:return