mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +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:
parent
14c3956ea6
commit
1ccfe46892
@ -8,10 +8,8 @@
|
||||
.export zerobss
|
||||
.import __BSS_RUN__, __BSS_SIZE__
|
||||
|
||||
.include "jumptab.inc"
|
||||
.include "geossym.inc"
|
||||
|
||||
.code
|
||||
.include "jumptab.inc"
|
||||
.include "geossym.inc"
|
||||
|
||||
zerobss:
|
||||
lda #<__BSS_SIZE__
|
||||
|
@ -8,7 +8,6 @@
|
||||
; unsigned char __fastcall__ bordercolor (unsigned char color);
|
||||
;
|
||||
|
||||
|
||||
.export _textcolor, _bgcolor, _bordercolor
|
||||
|
||||
; for GEOS 2.0 there is no color support, perhaps Wheels has it
|
||||
|
@ -7,8 +7,6 @@
|
||||
.importzp ptr3,ptr4
|
||||
.import popax
|
||||
|
||||
.code
|
||||
|
||||
DB_get2lines:
|
||||
sta ptr4 ; fetch line 2
|
||||
stx ptr4+1
|
||||
|
@ -5,17 +5,15 @@
|
||||
|
||||
; char DlgBoxFileSelect (char *class, char ftype, char *fname);
|
||||
|
||||
.export _DlgBoxFileSelect
|
||||
.import popa, popax
|
||||
.import _DoDlgBox
|
||||
.export _DlgBoxFileSelect
|
||||
.import popa, popax
|
||||
.import _DoDlgBox
|
||||
|
||||
.include "jumptab.inc"
|
||||
.include "diskdrv.inc"
|
||||
.include "geossym.inc"
|
||||
.include "geosmac.inc"
|
||||
.include "const.inc"
|
||||
|
||||
.code
|
||||
.include "jumptab.inc"
|
||||
.include "diskdrv.inc"
|
||||
.include "geossym.inc"
|
||||
.include "geosmac.inc"
|
||||
.include "const.inc"
|
||||
|
||||
_DlgBoxFileSelect:
|
||||
sta tmp_r5
|
||||
|
@ -13,8 +13,6 @@
|
||||
.include "geossym.inc"
|
||||
.include "const.inc"
|
||||
|
||||
.code
|
||||
|
||||
_DlgBoxGetString:
|
||||
jsr DB_get2lines
|
||||
jsr popa
|
||||
|
@ -12,8 +12,6 @@
|
||||
.include "geossym.inc"
|
||||
.include "const.inc"
|
||||
|
||||
.code
|
||||
|
||||
_DlgBoxOk:
|
||||
jsr DB_get2lines
|
||||
lda #<paramStrOk
|
||||
|
@ -12,8 +12,6 @@
|
||||
.include "geossym.inc"
|
||||
.include "const.inc"
|
||||
|
||||
.code
|
||||
|
||||
_DlgBoxOkCancel:
|
||||
jsr DB_get2lines
|
||||
lda #<paramStrOkCancel
|
||||
|
@ -12,8 +12,6 @@
|
||||
.include "geossym.inc"
|
||||
.include "const.inc"
|
||||
|
||||
.code
|
||||
|
||||
_DlgBoxYesNo:
|
||||
jsr DB_get2lines
|
||||
lda #<paramStrYesNo
|
||||
|
@ -19,8 +19,6 @@
|
||||
.include "jumptab.inc"
|
||||
.include "geossym.inc"
|
||||
|
||||
.code
|
||||
|
||||
; --------------------------------------------------------------------------
|
||||
;
|
||||
; unsigned char __fastcall__ mouse_init (unsigned char type);
|
||||
|
@ -22,8 +22,6 @@
|
||||
; The functions below must be interrupt-safe,
|
||||
; because they might be called from an interrupt-handler.
|
||||
|
||||
.code
|
||||
|
||||
; --------------------------------------------------------------------------
|
||||
; Hide the mouse pointer. Always called with interrupts disabled.
|
||||
|
||||
|
@ -12,8 +12,6 @@
|
||||
.include "diskdrv.inc"
|
||||
.include "geossym.inc"
|
||||
|
||||
.code
|
||||
|
||||
_FindFTypes:
|
||||
sta r10L
|
||||
stx r10H
|
||||
|
@ -12,8 +12,6 @@
|
||||
.include "errno.inc"
|
||||
.include "const.inc"
|
||||
|
||||
.code
|
||||
|
||||
__osmaperrno:
|
||||
ldx #ErrTabSize
|
||||
@L1: cmp ErrTab-2,x ; Search for the error code
|
||||
|
@ -4,8 +4,8 @@
|
||||
; unsigned char __fastcall__ _sysuname (struct utsname* buf);
|
||||
;
|
||||
|
||||
.import utscopy
|
||||
.export __sysuname, utsdata
|
||||
.import utscopy
|
||||
.export __sysuname, utsdata
|
||||
|
||||
__sysuname = utscopy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user