TIP: Click on subject to list as thread! ANSI
echo: 64_talk
to: Paul Edwards
from: Tarragon Moon Allen
date: 1994-03-06 06:29:02
subject: current device

On 27-Feb-94 Paul Edwards mumbled at All,
PE> Quite a lot of my programs have load "xxx",8 hardcoded in
PE> them, for loading from the floppy disk.  This was back in
PE> the days when I only had one disk drive.  Instead of the 8,
PE> I suppose I should have a peek(xxxx) instead. What is the
PE> peek I should be using, bearing in mind that it has just
PE> finished loading the "loader" program, so whatever the last
PE> device was that was used, should be the one to be used this
PE> time as well!  Commodore 64 I am talking about.  BFN.
 
 The location you're looking for is $ba (decimal 186). This contains the
current device number.
 
 Tarragon.
--- FMail 0.96โ

* Origin: Network BBS-Melbourne (03)803-6498 24 hours 9600 baud (3:633/272)
SEEN-BY: 50/99 54/54 632/348 998 633/104 261 262 272 357 371 635/503 570
SEEN-BY: 636/100 640/308 316 711/807 808 809 929 934 712/623 713/888
@PATH: 633/272 262 371 635/503 50/99 54/54 711/808 809

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.