]> git.sur5r.net Git - cc65/commitdiff
Normalized coding style.
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 8 Feb 2012 15:54:44 +0000 (15:54 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 8 Feb 2012 15:54:44 +0000 (15:54 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5498 b7a2c559-68d2-44c3-8de9-860c34a00d81

76 files changed:
libsrc/geos-common/disk/blkalloc.s
libsrc/geos-common/disk/calcblksfree.s
libsrc/geos-common/disk/freeblock.s
libsrc/geos-common/disk/getblock.s
libsrc/geos-common/disk/getdirhead.s
libsrc/geos-common/disk/getptrcurdknm.s
libsrc/geos-common/disk/gettrse.s
libsrc/geos-common/disk/nxtblkalloc.s
libsrc/geos-common/disk/opendisk.s
libsrc/geos-common/disk/putblock.s
libsrc/geos-common/disk/putdirhead.s
libsrc/geos-common/disk/setnextfree.s
libsrc/geos-common/dlgbox/Makefile
libsrc/geos-common/dlgbox/dbget2lines.s
libsrc/geos-common/dlgbox/dlgboxfileselect.s
libsrc/geos-common/dlgbox/dlgboxgetstring.s
libsrc/geos-common/dlgbox/dlgboxok.s
libsrc/geos-common/dlgbox/dlgboxokcancel.s
libsrc/geos-common/dlgbox/dlgboxyesno.s
libsrc/geos-common/dlgbox/dodlgbox.s
libsrc/geos-common/dlgbox/rstrfrmdialogue.s
libsrc/geos-common/file/Makefile
libsrc/geos-common/file/appendrecord.s
libsrc/geos-common/file/closerecordfile.s
libsrc/geos-common/file/deletefile.s
libsrc/geos-common/file/deleterecord.s
libsrc/geos-common/file/findfile.s
libsrc/geos-common/file/findftypes.s
libsrc/geos-common/file/freefile.s
libsrc/geos-common/file/get1stdirentry.s
libsrc/geos-common/file/getfhdrinfo.s
libsrc/geos-common/file/getfile.s
libsrc/geos-common/file/getnxtdirentry.s
libsrc/geos-common/file/insertrecord.s
libsrc/geos-common/file/nextrecord.s
libsrc/geos-common/file/openrecordfile.s
libsrc/geos-common/file/pointrecord.s
libsrc/geos-common/file/previousrecord.s
libsrc/geos-common/file/readbyte.s
libsrc/geos-common/file/readfile.s
libsrc/geos-common/file/readrecord.s
libsrc/geos-common/file/renamefile.s
libsrc/geos-common/file/savefile.s
libsrc/geos-common/file/sysremove.s
libsrc/geos-common/file/sysrename.s
libsrc/geos-common/file/updaterecordfile.s
libsrc/geos-common/file/writerecord.s
libsrc/geos-common/graph/Makefile
libsrc/geos-common/graph/bitmapclip.s
libsrc/geos-common/graph/bitmapregs.s
libsrc/geos-common/graph/bitmapup.s
libsrc/geos-common/graph/bitotherclip.s
libsrc/geos-common/graph/drawline.s
libsrc/geos-common/graph/drawpoint.s
libsrc/geos-common/graph/framerectangle.s
libsrc/geos-common/graph/getcharwidth.s
libsrc/geos-common/graph/getintcharint.s
libsrc/geos-common/graph/graphicsstring.s
libsrc/geos-common/graph/hlineregs.s
libsrc/geos-common/graph/horizontalline.s
libsrc/geos-common/graph/imprintrectangle.s
libsrc/geos-common/graph/initdrawwindow.s
libsrc/geos-common/graph/invertline.s
libsrc/geos-common/graph/invertrectangle.s
libsrc/geos-common/graph/loadcharset.s
libsrc/geos-common/graph/pointregs.s
libsrc/geos-common/graph/put_char.s
libsrc/geos-common/graph/putdecimal.s
libsrc/geos-common/graph/putstring.s
libsrc/geos-common/graph/recoverline.s
libsrc/geos-common/graph/recoverrectangle.s
libsrc/geos-common/graph/rectangle.s
libsrc/geos-common/graph/setpattern.s
libsrc/geos-common/graph/testpoint.s
libsrc/geos-common/graph/usesystemfont.s
libsrc/geos-common/graph/verticalline.s

index 15f5a519af4eac249dcab3cb9d2b5712edf3c0f7..bce4dd1888d1455709056655b8043a5bc7e333a6 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index ec66d9fc9cfeaca44078d9c96687249861b4ad1b..481ab565746f215b51e8130515b81ab7d491b5a4 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
index 5010d6778e4dd0be70fd7da03e6b7978497680ee..74bb74448ff7dcd5d3d49ff69d7447c52deeee9b 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 2342a393ce051b9621126ba3856593fc5a5590dc..24e8415a9364fd848e7a0ac73faa274274392ade 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 26d386ba9ae02dc1f7d8e2bc70106542149268d2..efe8b7217a34673f854a4d1e249ade2a643ec8eb 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index f0fae0ec4cc04e76cde2a2bc69c337abf1299874..43c5fda012b58f1e34159a55e645c150ec111f69 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
index 525df08af8df21596491187c5441bc3ef9b81377..bcae55c9b797081757bff6d075d1c54bd1d205ad 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -6,12 +5,13 @@
 
            .export gettrse
            .importzp ptr4
+
 gettrse:
-           sta ptr4
-           stx ptr4+1
-           ldy #1
-           lda (ptr4),y
-           tax
-           dey
-           lda (ptr4),y
-           rts
+       sta ptr4
+       stx ptr4+1
+       ldy #1
+       lda (ptr4),y
+       tax
+       dey
+       lda (ptr4),y
+       rts
index 532aadba91ebb93102d5142b772291b5859bdb5c..e8cecd522b820f26f5d598270c88be4881a74dee 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 89ab42f7e6207460031c3554c58a31571fbe4aa2..362c0042f23afe0d437d25368168df97f1f8017d 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 0488110fd6829d2d6bf1fc4df1f66ef0e0a8fc6d..5da09a97551c0be994963c1b8d7e671862b3d95c 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 0561b448e7e682d9a5b89d1bf9a62b6eb8bc360c..8f1014d00c324344b4c0f4903a9f29e42115c5d5 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index bd247c1abb7f1b5d1f8fe5173743aee5c9ba0e9a..9bfbe234251cad91a3820bb490d29fdbdebad32e 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
index 00663c1ca22779e4f61c5ad13114bb647bb59adc..cf24c8a32971a6d76fabdb317c2de088e7089982 100644 (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
index 6e26b6ae7b43ac16971015f0bdfbb25c1b287732..67d72375c8e0446815ef7957d949629aa345ce01 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
 .code
 
 DB_get2lines:
-           sta ptr4            ; fetch line 2
-           stx ptr4+1
-           jsr popax
-           sta ptr3            ; fetch line 1
-           stx ptr3+1
-           ldx #ptr3
-           jsr checknull
-           ldx #ptr4
-           jmp checknull
+       sta ptr4                ; fetch line 2
+       stx ptr4+1
+       jsr popax
+       sta ptr3                ; fetch line 1
+       stx ptr3+1
+       ldx #ptr3
+       jsr checknull
+       ldx #ptr4
+       jmp checknull
 
 checknull:
-           lda $0,x
-           ora $1,x
-           bne cn_end
-           lda #<nullstring
-           sta $0,x
-           lda #>nullstring
-           sta $1,x
-cn_end:            rts
+       lda $0,x
+       ora $1,x
+       bne cn_end
+       lda #<nullstring
+       sta $0,x
+       lda #>nullstring
+       sta $1,x
+cn_end:        rts
 
 .rodata
 
 nullstring:
-           .byte 0
+       .byte 0
index 4e34f10454c69e05fb09639f1b9fa9b48291017f..7acb6b9edeef4b8ba6a3cd89c1d5a03e9543fbb2 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
 .code
 
 _DlgBoxFileSelect:
-
-               sta tmp_r5
-               stx tmp_r5+1
-               jsr popa
-               sta tmp_r7L
-               jsr popax
-               sta tmp_r10
-               stx tmp_r10+1
+       sta tmp_r5
+       stx tmp_r5+1
+       jsr popa
+       sta tmp_r7L
+       jsr popax
+       sta tmp_r10
+       stx tmp_r10+1
 
 DB_FS_reload:
-               MoveW tmp_r5, r5
-               MoveW tmp_r10, r10
-               MoveB tmp_r7L, r7L
-
-               lda #<paramStrFileSelect
-               ldx #>paramStrFileSelect
-               jsr _DoDlgBox
-               cmp #DISK
-               bne DB_FS_Fin
-               jsr OpenDisk
-               txa
-               beq DB_FS_reload
-DB_FS_Fin:     rts
+       MoveW tmp_r5, r5
+       MoveW tmp_r10, r10
+       MoveB tmp_r7L, r7L
+
+       lda #<paramStrFileSelect
+       ldx #>paramStrFileSelect
+       jsr _DoDlgBox
+       cmp #DISK
+       bne DB_FS_Fin
+       jsr OpenDisk
+       txa
+       beq DB_FS_reload
+DB_FS_Fin:
+       rts
 
 .rodata
 
 paramStrFileSelect:
-               .byte DEF_DB_POS | 1
-               .byte DBGETFILES, 4, 4
-               .byte OPEN, DBI_X_2, DBI_Y_0+16
-               .byte DISK, DBI_X_2, DBI_Y_0+32+1
-               .byte CANCEL, DBI_X_2, DBI_Y_0+64+3
-               .byte NULL
+       .byte DEF_DB_POS | 1
+       .byte DBGETFILES, 4, 4
+       .byte OPEN, DBI_X_2, DBI_Y_0+16
+       .byte DISK, DBI_X_2, DBI_Y_0+32+1
+       .byte CANCEL, DBI_X_2, DBI_Y_0+64+3
+       .byte NULL
 
 .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
index 2b45f9fb90a83db2be23cb3209c0fe5e55c5b4b8..4f0a25944894cd7462a093dc730af8c37547ea1c 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
 .code
 
 _DlgBoxGetString:
-           jsr DB_get2lines
-           jsr popa
-           sta DB_strlen
-           jsr popax
-           sta ptr2
-           stx ptr2+1
-           lda #<paramStrGetString
-           ldx #>paramStrGetString
-           jmp _DoDlgBox
+       jsr DB_get2lines
+       jsr popa
+       sta DB_strlen
+       jsr popax
+       sta ptr2
+       stx ptr2+1
+       lda #<paramStrGetString
+       ldx #>paramStrGetString
+       jmp _DoDlgBox
 
 .data
 
 paramStrGetString:
-           .byte DEF_DB_POS | 1
-           .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
-           .byte CANCEL, DBI_X_2, DBI_Y_2
-           .byte NULL
+       .byte DEF_DB_POS | 1
+       .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
+       .byte CANCEL, DBI_X_2, DBI_Y_2
+       .byte NULL
index 5d3e5e3fc127eee3044429bf035548306e038699..7cfdc6112ee3a413af723b8e41cbdc646b1d78dc 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
 .code
 
 _DlgBoxOk:
-           jsr DB_get2lines
-           lda #<paramStrOk
-           ldx #>paramStrOk
-           jmp _DoDlgBox
+       jsr DB_get2lines
+       lda #<paramStrOk
+       ldx #>paramStrOk
+       jmp _DoDlgBox
 
 .rodata
 
 paramStrOk:
-           .byte DEF_DB_POS | 1
-           .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
-           .byte DBVARSTR, TXT_LN_X, TXT_LN_3_Y, ptr4
-           .byte OK, DBI_X_0, DBI_Y_2
-           .byte NULL
+       .byte DEF_DB_POS | 1
+       .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
+       .byte DBVARSTR, TXT_LN_X, TXT_LN_3_Y, ptr4
+       .byte OK, DBI_X_0, DBI_Y_2
+       .byte NULL
index 999d037ecdd6f85539b90d9e2256605abc69fe66..828514fc5ee80d40c6d342da9a5b4e68054c476f 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
 .code
 
 _DlgBoxOkCancel:
-           jsr DB_get2lines
-           lda #<paramStrOkCancel
-           ldx #>paramStrOkCancel
-           jmp _DoDlgBox
+       jsr DB_get2lines
+       lda #<paramStrOkCancel
+       ldx #>paramStrOkCancel
+       jmp _DoDlgBox
 
 .rodata
 
 paramStrOkCancel:
-           .byte DEF_DB_POS | 1
-           .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
-           .byte DBVARSTR, TXT_LN_X, TXT_LN_3_Y, ptr4
-           .byte OK, DBI_X_0, DBI_Y_2
-           .byte CANCEL, DBI_X_2, DBI_Y_2
-           .byte NULL
+       .byte DEF_DB_POS | 1
+       .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
+       .byte DBVARSTR, TXT_LN_X, TXT_LN_3_Y, ptr4
+       .byte OK, DBI_X_0, DBI_Y_2
+       .byte CANCEL, DBI_X_2, DBI_Y_2
+       .byte NULL
index 2996c0d4398748efde73bbb38552019ae228a82f..94eed142a684b25086711aa14530b4be31af743f 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
 .code
 
 _DlgBoxYesNo:
-           jsr DB_get2lines
-           lda #<paramStrYesNo
-           ldx #>paramStrYesNo
-           jmp _DoDlgBox
+       jsr DB_get2lines
+       lda #<paramStrYesNo
+       ldx #>paramStrYesNo
+       jmp _DoDlgBox
 
 .rodata
 
 paramStrYesNo:
-           .byte DEF_DB_POS | 1
-           .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
-           .byte DBVARSTR, TXT_LN_X, TXT_LN_3_Y, ptr4
-           .byte YES, DBI_X_0, DBI_Y_2
-           .byte NO, DBI_X_2, DBI_Y_2
-           .byte NULL
+       .byte DEF_DB_POS | 1
+       .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
+       .byte DBVARSTR, TXT_LN_X, TXT_LN_3_Y, ptr4
+       .byte YES, DBI_X_0, DBI_Y_2
+       .byte NO, DBI_X_2, DBI_Y_2
+       .byte NULL
index 77b3b6b372b5e4a4897752e355c727addbd8759c..4f5a776b951582263d3b5b6ebcccc48e840ed1aa 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
@@ -12,9 +11,9 @@
            .include "geossym.inc"
 
 _DoDlgBox:
-           sta r0L
-           stx r0H
-           jsr DoDlgBox
-           ldx #0
-           lda r0L
-           rts
+       sta r0L
+       stx r0H
+       jsr DoDlgBox
+       ldx #0
+       lda r0L
+       rts
index a676bb44044c188b9022328c0f52d41934d5e827..84bd1b3eca32fdb3c139cc52bf2eafad2b782e04 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -10,4 +9,4 @@
 
            .include "jumptab.inc"
        
-_RstrFrmDialogue       = RstrFrmDialogue
+_RstrFrmDialogue = RstrFrmDialogue
index b9ba76208fc3c5ae865d0366a395faff549f2652..9d64224d9974f82133615b6d5bbec2e9a84ecbe6 100644 (file)
@@ -5,28 +5,28 @@
 #--------------------------------------------------------------------------
 # Object files
 
-S_OBJS +=      get1stdirentry.o        \
-               getnxtdirentry.o        \
-               openrecordfile.o        \
+S_OBJS +=      appendrecord.o          \
                closerecordfile.o       \
-               nextrecord.o            \
-               previousrecord.o        \
-               pointrecord.o           \
+               deletefile.o            \
                deleterecord.o          \
-               insertrecord.o          \
-               appendrecord.o          \
-               readrecord.o            \
-               writerecord.o           \
-               updaterecordfile.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           \
+               readbyte.o              \
                readfile.o              \
-               savefile.o              \
-               freefile.o              \
-               deletefile.o            \
+               readrecord.o            \
                renamefile.o            \
-               findftypes.o            \
-               readbyte.o              \
-               getfile.o               \
+               savefile.o              \
                sysremove.o             \
-               sysrename.o
+               sysrename.o             \
+               writerecord.o           \
+               updaterecordfile.o
\ No newline at end of file
index 26b99a1a84e30c29d29919f5cd0bef5e3d5e416d..49a9cee46884c38bf58958c0605155f6c926186b 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 1daa799a261c6623771a73eb58eb2da3cd86b96c..8ac739b8ba0b796591233a695bf1d28c2b833ccb 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 4fb9dd7b09f818fd882ac013f0a641cc6e6c2710..cd7bade9bdf4ffb13caf58d28efb332ff1e4a828 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index fe40ad91de44ec5280b97f5f1d7746c3aee9909e..be1a9863a99d34fc14c6dce6c8ad508985816d87 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index fe9c18912ea6605de46711c829d7c56681639c17..2f3049915f8cf84782fba9f6179c8514ecaf3b40 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 7cb4858155bc46b5df06584ac6e4d304842f972b..28e5fddff2890d66cf14239da585d9042b9be628 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
@@ -35,4 +34,5 @@ _FindFTypes:
 
 .bss
 
-tmpFileMax:    .res 1
+tmpFileMax:
+       .res 1
index e4a4344f5afe74bf52e791e3ca03a5b1784f2322..a87620c098f4cb099b93aa341f2db9b73b218088 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 60b67791499bd65cbd9cc76f14dd868544bc527e..675779f507074e43f9df3455f07fdc3b84da1553 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
index 55e7a49e21a91e88a2d0d5905a7194b44c226045..a09694b14f31b9b3b58e7c46b3b01aad3ec2974b 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index f8bc908eb12b4b65090172b6b6739301f9616fec..b302df0c6899230211af78b96fea2af76b02a663 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 72a7f68f41fa50a52ca280f330d3ffdc888b2677..a7246cff9d5b6eb8ed56ccff6d858dc57e3cd950 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
index 1f5f886d84b1ade57da44f3f5384cb603234aa1c..75090322b72fae013e9b5861204d13ba732afbb1 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index bad208a4157007322865198ffc5149c53fd8b04b..3be5528a02c22a712203fff8ea95e0aa4733ef88 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 287bee71b300164edb90b8e08b44aedbf54f7c25..4361eaf3dfc53a5fa06cace5dfe97ae2c8851f99 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 4149dc4f21355e200bcc82b6815075f9be3e4d10..299c303520bd41a6a30117b241cb16faa9995b93 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 5604018915470ea4b82b88d287e8c6bb504643f2..bd514d2e09a1fd5fa34c3b2c4d00f89748b77182 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index e4408a3ec967aae00793330e81301b6ffefd8be9..72345af158cd86b1c55b7b89ce7583cfdbd839c3 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index a74f224dfe60d0712fbd06f3cdf39d73357ca68b..5dd33707d07af13b61400fd37f091a50132e2f89 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 493e3b6ddbacdb90fdd4d6104a81202c18846a08..fb2faa95d229ace3c632e3bdc7ef53743aef463e 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index f0f2cec2fce5a7639fdabd148c61b6045dea45de..a46a4f14e761d8b85797b782af3444c044ee5a17 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 743e35bbbd0b361cd48f70dcf0637eefa15f316d..65d9aee76f74cc5fef8e9affd0a2d0acfaca2f6d 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index fc30f93be2fe306eeeff50fd1547ed3277d7e8d5..0ae149aa05aef813ae3fbe76c69bf79d12d059b9 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 541c2cc6048ce94fad6af015e04114d5bca4ca5c..cac878e19047f7586a4bec103c5a9a2d5f818f8d 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index b46440c6e91a660f11b9a33b6b7bef8c3cb7de73..590643ff5dda97a1384b904b5a7c292f3f5f8285 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 13da130484d146e5bbcef498a6eb8f6683f0431a..c495d069ef0e57e56adfa84e86d123cfdc6295e3 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
index 9973a06fe092d12338b68f887afb320cf5b0b0e3..2c0a6e2bbfbe0319be24dba3423ed0e37e576335 100644 (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             \
+               put_char.o              \
+               putdecimal.o            \
+               putstring.o             \
                recoverline.o           \
                recoverrectangle.o      \
                rectangle.o             \
-               initdrawwindow.o        \
                setpattern.o            \
                testpoint.o             \
-               verticalline.o          \
-               put_char.o              \
-               putdecimal.o            \
-               putstring.o             \
                usesystemfont.o         \
-               getcharwidth.o          \
-               loadcharset.o           \
-               bitmapup.o              \
-               bitmapregs.o            \
-               bitmapclip.o            \
-               bitotherclip.o          \
-               graphicsstring.o        \
-               getintcharint.o
+               verticalline.o          \
index 5785cb465378ad436abf61a62b2b81f9c9e9f36f..50e4e03b022b1bf4e0a60531c292310f0621f2ae 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
            .include "geossym.inc"
 
 _BitmapClip:
-           jsr BitmapRegs
-           jsr popax
-           sta r12L
-           stx r12H
-           jsr popa
-           sta r11H
-           jsr popa
-           sta r11L
-           jmp BitmapClip
+       jsr BitmapRegs
+       jsr popax
+       sta r12L
+       stx r12H
+       jsr popa
+       sta r11H
+       jsr popa
+       sta r11L
+       jmp BitmapClip
index c1824ffd8a8dda5db6d60729b2716c816dc1273f..9ff45e8728da4d4682b55739b4335b06b156571a 100644 (file)
@@ -1,22 +1,20 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
 ; 21.12.99
 
            .importzp ptr4
-           
            .export BitmapRegs
 
            .include "geossym.inc"
 
-BitmapRegs:                    ;a/x is a struct iconpic*
-           sta ptr4
-           stx ptr4+1
-           ldy #0
-bmpLp:     lda (ptr4),y
-           sta r0L,y
-           iny
-           cpy #6
-           bne bmpLp
-           rts
+BitmapRegs:                    ; a/x is a struct iconpic*
+       sta ptr4
+       stx ptr4+1
+       ldy #0
+bmpLp: lda (ptr4),y
+       sta r0L,y
+       iny
+       cpy #6
+       bne bmpLp
+       rts
index dc87fe37ec701a81bad042ea88750e565543af2d..214bf2357b73c70c319ae029761a696d2a1ad21c 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -6,12 +5,11 @@
 
 ; void BitmapUp        (struct iconpic *myGfx);
 
-
            .import BitmapRegs
            .export _BitmapUp
 
            .include "jumptab.inc"
 
 _BitmapUp:
-           jsr BitmapRegs
-           jmp BitmapUp
+       jsr BitmapRegs
+       jmp BitmapUp
index 1d6ddabfa48972985769b9bdde4aa7b76b8e220b..5956ea7388711372dc9bd1d5a4969ef29c3ca07e 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
            .include "geossym.inc"
 
 _BitOtherClip:
-           jsr BitOtherRegs
-           jsr popax
-           sta r12L
-           stx r12H
-           jsr popa
-           sta r11H
-           jsr popa
-           sta r11L
-           jsr popax
-           sta r14L
-           stx r14H
-           jsr popax
-           sta r13L
-           stx r13H
-           jmp BitOtherClip
+       jsr BitOtherRegs
+       jsr popax
+       sta r12L
+       stx r12H
+       jsr popa
+       sta r11H
+       jsr popa
+       sta r11L
+       jsr popax
+       sta r14L
+       stx r14H
+       jsr popax
+       sta r13L
+       stx r13H
+       jmp BitOtherClip
index 79030561bbb7ed72e40a99c4aac0cef21710cdab..ebbdc645d607eaa1c839ef713546bd717ca49281 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
            .include "geosmac.ca65.inc"
 
 _DrawLine:
-           tay
-           PushW r2
-           tya
-           jsr _InitDrawWindow
-           MoveW r2, r11
-           PopW r2
-           jsr popa
-           sta tmp1
-           clc
-           bit tmp1
-           bvc @1
-           sec
-@1:        jmp DrawLine
+       tay
+       PushW r2
+       tya
+       jsr _InitDrawWindow
+       MoveW r2, r11
+       PopW r2
+       jsr popa
+       sta tmp1
+       clc
+       bit tmp1
+       bvc @1
+       sec
+@1:    jmp DrawLine
index d8fac4dc197e002c168f72eb4381a97a33c11332..6179d22d8af496d8444ebd6f39f705f41d9471ba 100644 (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
            .include "jumptab.inc"
 
 _DrawPoint:
-           jsr PointRegs
-           jsr popa
-           sta tmp1
-           clc
-           bit tmp1
-           bvc @1
-           sec
-@1:        jmp DrawPoint
+       jsr PointRegs
+       jsr popa
+       sta tmp1
+       clc
+       bit tmp1
+       bvc @1
+       sec
+@1:    jmp DrawPoint
index d8bcc3cc58032399ea0901743700a3ca70bde68c..f0f51d8fd9b3023ed34b7c9818bf25a416c8424f 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -10,4 +9,4 @@
 
            .include "jumptab.inc"
            
-_FrameRectangle = FrameRectangle
+_FrameRectangle        = FrameRectangle
index 0f971a8de00e73bd5e8fe133ea92f2115aefe53e..a98005f9a347430bd1070ee4dbc3cef5c78db364 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
@@ -11,6 +10,6 @@
            .include "jumptab.inc"
 
 _GetCharWidth:
-           jsr GetCharWidth
-           ldx #0
-           rts
+       jsr GetCharWidth
+       ldx #0
+       rts
index 1c31df4ed33c7aee54ce171c1247ae13018e7fee..5b4088d21a817387d379437dc9c979e215018d37 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
            .include "geossym.inc"
 
 getintcharint:
-           sta r11L
-           stx r11H
-           jsr popa
-           sta r1H
-           jsr popax
-           sta r0L
-           stx r0H
-           rts
+       sta r11L
+       stx r11H
+       jsr popa
+       sta r1H
+       jsr popax
+       sta r0L
+       stx r0H
+       rts
 
index 5dc3064a7409c76694a69330ff963320acc8098d..492b5e35cceac3aabd6215af1c11ca1e04be203a 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -12,6 +11,6 @@
            .include "geossym.inc"
 
 _GraphicsString:
-           sta r0L
-           stx r0H
-           jmp GraphicsString
+       sta r0L
+       stx r0H
+       jmp GraphicsString
index 921081e286852b67dda1a49773b25e45c1b455f4..836f8517806df43ee941b5a1bbd35a54d7689282 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -6,17 +5,16 @@
 
 
            .import popax, popa
-
            .export HLineRegs
 
            .include "geossym.inc"
 
 HLineRegs:
-           stx r4H
-           sta r4L
-           jsr popax
-           stx r3H
-           sta r3L
-           jsr popa
-           sta r11L
-           rts
+       stx r4H
+       sta r4L
+       jsr popax
+       stx r3H
+       sta r3L
+       jsr popa
+       sta r11L
+       rts
index 7d8ecf122dfdb33f55fe0adb8b352b7650502b41..9b8a1c5d5cbdf8ddb8c0ab6fb802b108e639bf7c 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -8,12 +7,11 @@
 
            .import popa
            .import HLineRegs
-           
            .export _HorizontalLine
 
            .include "jumptab.inc"
 
 _HorizontalLine:
-           jsr HLineRegs
-           jsr popa
-           jmp HorizontalLine
+       jsr HLineRegs
+       jsr popa
+       jmp HorizontalLine
index 61cfb7fa3257bdad60bd7240db4e7f4b231f53a3..0ac0c3092b1f5a5bc956e5cb5adde43397772b14 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
index e34ee5cd278f51650ccb984cd363238de2dd1dc5..31e479065f4e1d90049ed9b549d189d2c3293590 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -8,18 +7,17 @@
 ; void InitDrawWindow (struct window *myWindow);
 
            .importzp ptr4
-           
            .export _InitDrawWindow
 
            .include "geossym.inc"
 
-_InitDrawWindow:                       ;a/x is a struct window*
-           sta ptr4
-           stx ptr4+1
-           ldy #0
-copyWin:    lda (ptr4),y
-           sta r2L,y
-           iny
-           cpy #6
-           bne copyWin
-           rts
+_InitDrawWindow:               a/x is a struct window*
+       sta ptr4
+       stx ptr4+1
+       ldy #0
+copyWin:lda (ptr4),y
+       sta r2L,y
+       iny
+       cpy #6
+       bne copyWin
+       rts
index 9456c7bf56339be78e0951715511556c8f3fbb04..dcc68d40a1b619079d78a978ee27198f83ca7c16 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -12,5 +11,5 @@
            .include "jumptab.inc"
            
 _InvertLine:
-           jsr HLineRegs
-           jmp InvertLine
+       jsr HLineRegs
+       jmp InvertLine
index aac5176c4366c2a300803168b04c72cf657aa3a7..3e2b1c71acfc674ce974079081e0a8560ae22fa3 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
index 503275023a513369ae3c1826bf6298eb374dc403..a7e38a666450ddcc1ce4921398ea0be7e00c794f 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -12,6 +11,6 @@
            .include "geossym.inc"
 
 _LoadCharSet:
-           sta r0L
-           stx r0H
-           jmp LoadCharSet
+       sta r0L
+       stx r0H
+       jmp LoadCharSet
index a9cef94e8b7efdc826a978ae70d84bde587406b1..edff38212b730e41f533eac086870135375e73ae 100644 (file)
@@ -1,25 +1,23 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
 ; 29.10.99
 
            .importzp ptr4
-           
            .export PointRegs
 
            .include "geossym.inc"
 
-PointRegs:                     ;a/x is a struct pixel*
-           sta ptr4
-           stx ptr4+1
-           ldy #0
-           lda (ptr4),y
-           sta r3L
-           iny
-           lda (ptr4),y
-           sta r3H
-           iny
-           lda (ptr4),y
-           sta r11L
-           rts
+PointRegs:                     ; a/x is a struct pixel*
+       sta ptr4
+       stx ptr4+1
+       ldy #0
+       lda (ptr4),y
+       sta r3L
+       iny
+       lda (ptr4),y
+       sta r3H
+       iny
+       lda (ptr4),y
+       sta r11L
+       rts
index 7f70668667b12165ed4655c3941db33da3ebcc42..bc22a70cb81f3b21c7e5b3c93d2a1635d74419bd 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -13,9 +12,9 @@
            .include "geossym.inc"
 
 _PutChar:
-           sta r11L
-           stx r11H
-           jsr popa
-           sta r1H
-           jsr popa
-           jmp PutChar
+       sta r11L
+       stx r11H
+       jsr popa
+       sta r1H
+       jsr popa
+       jmp PutChar
index 918d0bd4fabd476b014e5e7bbaffb48b1d55b8bf..f3602c3d4aec060a31bab4eaaae757092b5c025c 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
@@ -13,6 +12,6 @@
            .include "jumptab.inc"
 
 _PutDecimal:
-           jsr getintcharint
-           jsr popa
-           jmp PutDecimal
+       jsr getintcharint
+       jsr popa
+       jmp PutDecimal
index a962be2a2c7d1c68c15e7006c04a8e1848227f50..4c333f3ab3106810eb0eaa0695be60c57609e025 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -13,5 +12,5 @@
            .include "jumptab.inc"
 
 _PutString:
-           jsr getintcharint
-           jmp PutString
+       jsr getintcharint
+       jmp PutString
index 181507b0bbe9aea2b342b2d5db27897005b7b4ca..6d4626cb35036ecfd563a9778135679a3e58ad45 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -7,12 +6,11 @@
 ; void RecoverLine    (char y, int xstart, int xend);
 
            .import HLineRegs
-
            .export _RecoverLine
            
            .include "jumptab.inc"
 
 _RecoverLine:
-           jsr HLineRegs
-           jmp RecoverLine
+       jsr HLineRegs
+       jmp RecoverLine
 
index da0a5c4961ab65c6ddfddadcc3e93aa3441e5788..077b342e097c0d9fbbb27f022f6c8ce98311a6c2 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
index b3afafae10e234e5afb4de2f1467096d417c985e..f0f11e4e3942a86f47c84d6c336cf7dc3ce92141 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -10,4 +9,4 @@
            
            .include "jumptab.inc"
 
-_Rectangle = Rectangle
+_Rectangle     = Rectangle
index 1f437da06f066701dc1c98ff5a8ac9b62cc7d0ef..d81019f32638b87a6b4d66d89102beecb333028a 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -10,4 +9,4 @@
 
            .include "jumptab.inc"
 
-_SetPattern = SetPattern
+_SetPattern    = SetPattern
index 11af3daff0267b9534a42f5cad8330c75a45b271..6bf28589a65f95a4eb98ca0bb3cf50083d0ededa 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Elysium' Witkowiak
 ;
@@ -13,8 +12,8 @@
            .include "jumptab.inc"
            
 _TestPoint:
-           jsr PointRegs
-           jsr TestPoint
-           bcc goFalse
-           jmp return1
-goFalse:    jmp return0
+       jsr PointRegs
+       jsr TestPoint
+       bcc goFalse
+       jmp return1
+goFalse:jmp return0
index 4c732d5aa2bb4c04cd35aadbb4bca9e3e03b96dd..3d72e7cf557ab008ee2355a6bee5e696cc0bfc20 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -10,4 +9,4 @@
 
            .include "jumptab.inc"
 
-_UseSystemFont = UseSystemFont
+_UseSystemFont = UseSystemFont
index a80bdd6fc18b60cdfbdd1f76a46082bc41e22ac4..12355aaab3edabd76e2b5f4448a18851095cb171 100644 (file)
@@ -1,4 +1,3 @@
-
 ;
 ; Maciej 'YTM/Alliance' Witkowiak
 ;
@@ -6,19 +5,18 @@
 
 ; void VerticalLine   (char pattern, char ystart, char yend, int x);
 
-           .import popa
-                           
+           .import popa 
            .export _VerticalLine
 
            .include "jumptab.inc"
            .include "geossym.inc"
            
 _VerticalLine:
-           stx r4H
-           sta r4L
-           jsr popa
-           sta r3H
-           jsr popa
-           sta r3L
-           jsr popa
-           jmp VerticalLine
+       stx r4H
+       sta r4L
+       jsr popa
+       sta r3H
+       jsr popa
+       sta r3L
+       jsr popa
+       jmp VerticalLine