Normalized coding style.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5498 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2012-02-08 15:54:44 +00:00
parent d30ecfbd0e
commit 9aac71b74a
76 changed files with 297 additions and 373 deletions

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
@ -6,6 +5,7 @@
.export gettrse
.importzp ptr4
gettrse:
sta ptr4
stx ptr4+1

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -7,11 +7,11 @@
C_OBJS += messagebox.o
S_OBJS += dodlgbox.o \
rstrfrmdialogue.o \
dbget2lines.o \
dlgboxyesno.o \
dlgboxokcancel.o \
dlgboxok.o \
S_OBJS += dbget2lines.o \
dlgboxgetstring.o \
dlgboxfileselect.o
dlgboxfileselect.o \
dlgboxok.o \
dlgboxokcancel.o \
dlgboxyesno.o \
dodlgbox.o \
rstrfrmdialogue.o

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;
@ -18,7 +17,6 @@
.code
_DlgBoxFileSelect:
sta tmp_r5
stx tmp_r5+1
jsr popa
@ -40,7 +38,8 @@ DB_FS_reload:
jsr OpenDisk
txa
beq DB_FS_reload
DB_FS_Fin: rts
DB_FS_Fin:
rts
.rodata
@ -54,6 +53,9 @@ paramStrFileSelect:
.bss
tmp_r5: .res 2
tmp_r7L: .res 1
tmp_r10: .res 2
tmp_r5:
.res 2
tmp_r7L:
.res 1
tmp_r10:
.res 2

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;
@ -34,6 +33,7 @@ paramStrGetString:
.byte DBVARSTR, TXT_LN_X, TXT_LN_1_Y, ptr3
.byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr4
.byte DBGETSTRING, TXT_LN_X, TXT_LN_3_Y, ptr2
DB_strlen: .byte 17
DB_strlen:
.byte 17
.byte CANCEL, DBI_X_2, DBI_Y_2
.byte NULL

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -5,28 +5,28 @@
#--------------------------------------------------------------------------
# Object files
S_OBJS += get1stdirentry.o \
getnxtdirentry.o \
openrecordfile.o \
S_OBJS += appendrecord.o \
closerecordfile.o \
deletefile.o \
deleterecord.o \
findfile.o \
findftypes.o \
freefile.o \
get1stdirentry.o \
getfhdrinfo.o \
getfile.o \
getnxtdirentry.o \
insertrecord.o \
nextrecord.o \
openrecordfile.o \
previousrecord.o \
pointrecord.o \
deleterecord.o \
insertrecord.o \
appendrecord.o \
readrecord.o \
writerecord.o \
updaterecordfile.o \
findfile.o \
getfhdrinfo.o \
readfile.o \
savefile.o \
freefile.o \
deletefile.o \
renamefile.o \
findftypes.o \
readbyte.o \
getfile.o \
readfile.o \
readrecord.o \
renamefile.o \
savefile.o \
sysremove.o \
sysrename.o
sysrename.o \
writerecord.o \
updaterecordfile.o

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;
@ -35,4 +34,5 @@ _FindFTypes:
.bss
tmpFileMax: .res 1
tmpFileMax:
.res 1

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -5,31 +5,31 @@
#--------------------------------------------------------------------------
# Object files
S_OBJS += drawline.o \
S_OBJS += bitmapclip.o \
bitmapregs.o \
bitmapup.o \
bitotherclip.o \
drawline.o \
drawpoint.o \
framerectangle.o \
getcharwidth.o \
getintcharint.o \
graphicsstring.o \
hlineregs.o \
horizontalline.o \
imprintrectangle.o \
initdrawwindow.o \
invertline.o \
invertrectangle.o \
loadcharset.o \
pointregs.o \
recoverline.o \
recoverrectangle.o \
rectangle.o \
initdrawwindow.o \
setpattern.o \
testpoint.o \
verticalline.o \
put_char.o \
putdecimal.o \
putstring.o \
recoverline.o \
recoverrectangle.o \
rectangle.o \
setpattern.o \
testpoint.o \
usesystemfont.o \
getcharwidth.o \
loadcharset.o \
bitmapup.o \
bitmapregs.o \
bitmapclip.o \
bitotherclip.o \
graphicsstring.o \
getintcharint.o
verticalline.o \

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,16 +1,14 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
; 21.12.99
.importzp ptr4
.export BitmapRegs
.include "geossym.inc"
BitmapRegs: ;a/x is a struct iconpic*
BitmapRegs: ; a/x is a struct iconpic*
sta ptr4
stx ptr4+1
ldy #0

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
@ -6,7 +5,6 @@
; void BitmapUp (struct iconpic *myGfx);
.import BitmapRegs
.export _BitmapUp

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;
@ -6,7 +5,6 @@
; void DrawPoint (char mode, struct pixel *mypixel);
.import PointRegs
.import popa
.importzp tmp1

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
@ -6,7 +5,6 @@
.import popax, popa
.export HLineRegs
.include "geossym.inc"

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
@ -8,7 +7,6 @@
.import popa
.import HLineRegs
.export _HorizontalLine
.include "jumptab.inc"

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
@ -8,16 +7,15 @@
; void InitDrawWindow (struct window *myWindow);
.importzp ptr4
.export _InitDrawWindow
.include "geossym.inc"
_InitDrawWindow: ;a/x is a struct window*
_InitDrawWindow: ; a/x is a struct window*
sta ptr4
stx ptr4+1
ldy #0
copyWin: lda (ptr4),y
copyWin:lda (ptr4),y
sta r2L,y
iny
cpy #6

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,16 +1,14 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
; 29.10.99
.importzp ptr4
.export PointRegs
.include "geossym.inc"
PointRegs: ;a/x is a struct pixel*
PointRegs: ; a/x is a struct pixel*
sta ptr4
stx ptr4+1
ldy #0

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
@ -7,7 +6,6 @@
; void RecoverLine (char y, int xstart, int xend);
.import HLineRegs
.export _RecoverLine
.include "jumptab.inc"

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;
@ -17,4 +16,4 @@ _TestPoint:
jsr TestPoint
bcc goFalse
jmp return1
goFalse: jmp return0
goFalse:jmp return0

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;

View file

@ -1,4 +1,3 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
@ -7,7 +6,6 @@
; void VerticalLine (char pattern, char ystart, char yend, int x);
.import popa
.export _VerticalLine
.include "jumptab.inc"