Re: [cc65] CBM units

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2010-02-21 13:57:55
Hello Uz,

* On Sun, Feb 21, 2010 at 01:44:27PM +0100 Ullrich von Bassewitz wrote:
 
> While thinking about it: I doubt that $ba could contain zero, because the cc65
> compiled program has to be loaded from somewhere, so $ba would in any case
> contain the drive from which the program was loaded.

Think about:

1. some unusual fastloader (VICE autostart comes to mind), or

2. LOAD "PROGRAM",8
   OPEN 1,4
   CMD 1
   LIST
   PRINT#1
   CLOSE 1

   After this operation, $BA will contain 4, not 8.


Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Feb 21 13:58:15 2010

This archive was generated by hypermail 2.1.8 : 2010-02-21 13:58:18 CET