]> git.sur5r.net Git - cc65/commitdiff
Cosmetic changes from Oliver Schmidt
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 20 Apr 2005 16:52:10 +0000 (16:52 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 20 Apr 2005 16:52:10 +0000 (16:52 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3477 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/apple2/color.s
libsrc/apple2/mli.s

index 7057ef1412e9cb8bebeee1001da6e387bb766268..8994ddf900802b2c85ac1e0d604c30bd682948d5 100644 (file)
@@ -6,13 +6,11 @@
 ; unsigned char __fastcall__ bordercolor (unsigned char color);
 ;
 
-       .export         _textcolor, _bgcolor, _bordercolor
-       .import         return0, return1
+        .export                _textcolor, _bgcolor, _bordercolor
+        .import                return0, return1
 
-_textcolor     = return1
-
-_bgcolor       = return0
-
-_bordercolor   = return0
+_textcolor      := return1
 
+_bgcolor        := return0
 
+_bordercolor    := return0
\ No newline at end of file
index 535ec737e58e0b2c8846c87dc24a72b3943f485a..b5c2ad433d6ec6f2614650d766a659fa8b76f404 100644 (file)
@@ -4,32 +4,32 @@
 ; Apple ProDOS 8 MLI
 ;
 
-        .import                __dos_type
+        .import         __dos_type
 
-        .include       "mli.inc"
+        .include        "mli.inc"
 
         .bss
 
-mliparam:       .tag   MLI
+mliparam:.tag   MLI
 
         .data
 
 callmli:
         ; Store parameters
-        sta    call
-        stx    mliparam
+        sta     call
+        stx     mliparam
 
         ; Check for ProDOS 8
-        lda    __dos_type
-        beq    oserr
+        lda     __dos_type
+        beq     oserr
 
         ; Call MLI and return
-        jsr    ENTRY
-call:   .byte  $00
-        .word  mliparam
+        jsr     ENTRY
+call:   .byte   $00
+        .addr   mliparam
         rts
 
         ; Load oserror code and return
-oserr:  lda    #$01            ; "Invalid MLI function code number"
+oserr:  lda     #$01           ; "Invalid MLI function code number"
         sec
         rts
\ No newline at end of file