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:
@@ -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__
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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);
|
||||||
|
@@ -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.
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user