Re: [cc65] CBM units

From: Groepaz <groepaz1gmx.net>
Date: 2010-02-21 15:59:10
On Sonntag 21 Februar 2010, 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.

many fastloaders leave $ba untouched. its a very common failure/bug and the 
issue is mentioned in every decent cbm dos tutorial for a good reason :)
 
> > personally i dont see a
> > reason for not simply using $ba as the place to store the variable that
> > keeps the current drive number :)
> 
> That's difficult to achieve in a multi platform library.

hu? whats so hard with declaring CURRENT_DRIVE = $ba in some platform specific 
include file? *shrug*

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Der zur Verwendung eines Vervielfältigungsstücks eines Programms Berechtigte 
kann ohne Zustimmung des Rechtsinhabers das Funktionieren dieses Programms 
beobachten, untersuchen oder testen, um die einem Programmelement 
zugrundeliegenden Ideen und Grundsätze zu ermitteln, wenn dies durch 
Handlungen zum Laden, Anzeigen, Ablaufen, Übertragen oder Speichern des 
Programms geschieht, zu denen er berechtigt ist. 
<§69d 3. Abs.3 UrhG>

----------------------------------------------------------------------
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 16:00:49 2010

This archive was generated by hypermail 2.1.8 : 2010-02-21 16:00:51 CET