1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-13 08:25:28 +00:00

Normalized coding style.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5515 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-02-09 10:54:40 +00:00
parent 14c3956ea6
commit 1ccfe46892
13 changed files with 12 additions and 35 deletions

View File

@@ -8,10 +8,8 @@
.export zerobss .export zerobss
.import __BSS_RUN__, __BSS_SIZE__ .import __BSS_RUN__, __BSS_SIZE__
.include "jumptab.inc" .include "jumptab.inc"
.include "geossym.inc" .include "geossym.inc"
.code
zerobss: zerobss:
lda #<__BSS_SIZE__ lda #<__BSS_SIZE__

View File

@@ -8,7 +8,6 @@
; unsigned char __fastcall__ bordercolor (unsigned char color); ; unsigned char __fastcall__ bordercolor (unsigned char color);
; ;
.export _textcolor, _bgcolor, _bordercolor .export _textcolor, _bgcolor, _bordercolor
; for GEOS 2.0 there is no color support, perhaps Wheels has it ; for GEOS 2.0 there is no color support, perhaps Wheels has it

View File

@@ -7,8 +7,6 @@
.importzp ptr3,ptr4 .importzp ptr3,ptr4
.import popax .import popax
.code
DB_get2lines: DB_get2lines:
sta ptr4 ; fetch line 2 sta ptr4 ; fetch line 2
stx ptr4+1 stx ptr4+1

View File

@@ -5,17 +5,15 @@
; char DlgBoxFileSelect (char *class, char ftype, char *fname); ; char DlgBoxFileSelect (char *class, char ftype, char *fname);
.export _DlgBoxFileSelect .export _DlgBoxFileSelect
.import popa, popax .import popa, popax
.import _DoDlgBox .import _DoDlgBox
.include "jumptab.inc" .include "jumptab.inc"
.include "diskdrv.inc" .include "diskdrv.inc"
.include "geossym.inc" .include "geossym.inc"
.include "geosmac.inc" .include "geosmac.inc"
.include "const.inc" .include "const.inc"
.code
_DlgBoxFileSelect: _DlgBoxFileSelect:
sta tmp_r5 sta tmp_r5

View File

@@ -13,8 +13,6 @@
.include "geossym.inc" .include "geossym.inc"
.include "const.inc" .include "const.inc"
.code
_DlgBoxGetString: _DlgBoxGetString:
jsr DB_get2lines jsr DB_get2lines
jsr popa jsr popa

View File

@@ -12,8 +12,6 @@
.include "geossym.inc" .include "geossym.inc"
.include "const.inc" .include "const.inc"
.code
_DlgBoxOk: _DlgBoxOk:
jsr DB_get2lines jsr DB_get2lines
lda #<paramStrOk lda #<paramStrOk

View File

@@ -12,8 +12,6 @@
.include "geossym.inc" .include "geossym.inc"
.include "const.inc" .include "const.inc"
.code
_DlgBoxOkCancel: _DlgBoxOkCancel:
jsr DB_get2lines jsr DB_get2lines
lda #<paramStrOkCancel lda #<paramStrOkCancel

View File

@@ -12,8 +12,6 @@
.include "geossym.inc" .include "geossym.inc"
.include "const.inc" .include "const.inc"
.code
_DlgBoxYesNo: _DlgBoxYesNo:
jsr DB_get2lines jsr DB_get2lines
lda #<paramStrYesNo lda #<paramStrYesNo

View File

@@ -19,8 +19,6 @@
.include "jumptab.inc" .include "jumptab.inc"
.include "geossym.inc" .include "geossym.inc"
.code
; -------------------------------------------------------------------------- ; --------------------------------------------------------------------------
; ;
; unsigned char __fastcall__ mouse_init (unsigned char type); ; unsigned char __fastcall__ mouse_init (unsigned char type);

View File

@@ -22,8 +22,6 @@
; The functions below must be interrupt-safe, ; The functions below must be interrupt-safe,
; because they might be called from an interrupt-handler. ; because they might be called from an interrupt-handler.
.code
; -------------------------------------------------------------------------- ; --------------------------------------------------------------------------
; Hide the mouse pointer. Always called with interrupts disabled. ; Hide the mouse pointer. Always called with interrupts disabled.

View File

@@ -12,8 +12,6 @@
.include "diskdrv.inc" .include "diskdrv.inc"
.include "geossym.inc" .include "geossym.inc"
.code
_FindFTypes: _FindFTypes:
sta r10L sta r10L
stx r10H stx r10H

View File

@@ -12,8 +12,6 @@
.include "errno.inc" .include "errno.inc"
.include "const.inc" .include "const.inc"
.code
__osmaperrno: __osmaperrno:
ldx #ErrTabSize ldx #ErrTabSize
@L1: cmp ErrTab-2,x ; Search for the error code @L1: cmp ErrTab-2,x ; Search for the error code

View File

@@ -4,8 +4,8 @@
; unsigned char __fastcall__ _sysuname (struct utsname* buf); ; unsigned char __fastcall__ _sysuname (struct utsname* buf);
; ;
.import utscopy .import utscopy
.export __sysuname, utsdata .export __sysuname, utsdata
__sysuname = utscopy __sysuname = utscopy