]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos-common/disk/nxtblkalloc.s
Dropped VER_PATCH (and VER_RC) and added build date.
[cc65] / libsrc / geos-common / disk / nxtblkalloc.s
index 532aadba91ebb93102d5142b772291b5859bdb5c..7427f3de0a41ea4ce563da17819bf1e77005af72 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
@@ -6,23 +5,24 @@
 
 ; char NxtBlkAlloc (struct tr_se *startTS, struct tr_se output[], int length );
 
-           .import popax, setoserror
-           .import gettrse
-           .importzp ptr4
-           .export _NxtBlkAlloc
+            .import popax, setoserror
+            .import gettrse
+            .importzp ptr4
+            .export _NxtBlkAlloc
 
-           .include "jumptab.inc"
-           .include "geossym.inc"
-       
+            .include "jumptab.inc"
+            .include "diskdrv.inc"
+            .include "geossym.inc"
+        
 _NxtBlkAlloc:
-       sta r2L
-       stx r2H
-       jsr popax
-       sta r4L
-       stx r4H
-       jsr popax
-       jsr gettrse
-       sta r3L
-       stx r3H
-       jsr NxtBlkAlloc
-       jmp setoserror
+        sta r2L
+        stx r2H
+        jsr popax
+        sta r4L
+        stx r4H
+        jsr popax
+        jsr gettrse
+        sta r3L
+        stx r3H
+        jsr NxtBlkAlloc
+        jmp setoserror