From e0c7880e34837e854696c54c25540fdd1db8b17f Mon Sep 17 00:00:00 2001 From: Karri Kaksonen Date: Sat, 16 Apr 2022 19:15:06 +0300 Subject: [PATCH] Split files --- libsrc/atari7800/buildfont160.py | 31 ---------------------------- libsrc/atari7800/font160.png | Bin 2973 -> 0 bytes libsrc/atari7800/font160flipped.png | Bin 2956 -> 0 bytes libsrc/atari7800/wherex.s | 18 ++++++++++++++++ libsrc/atari7800/wherey.s | 19 +++++++++++++++++ 5 files changed, 37 insertions(+), 31 deletions(-) delete mode 100644 libsrc/atari7800/buildfont160.py delete mode 100644 libsrc/atari7800/font160.png delete mode 100644 libsrc/atari7800/font160flipped.png create mode 100644 libsrc/atari7800/wherex.s create mode 100644 libsrc/atari7800/wherey.s diff --git a/libsrc/atari7800/buildfont160.py b/libsrc/atari7800/buildfont160.py deleted file mode 100644 index 30ee02695..000000000 --- a/libsrc/atari7800/buildfont160.py +++ /dev/null @@ -1,31 +0,0 @@ -blen = 0 - -def gb(val): - b = val[0] << 6 - b = b + (val[1] << 4) - b = b + (val[2] << 2) - b = b + val[3] - return '$' + hex(b)[2:4] - -def printline(f, val): - f.write(" .byte " + - gb(val[0:4]) + ', ' + - gb(val[4:8]) + ', ' + - gb(val[8:12]) + ', ' + - gb(val[12:16]) + ', ' + - gb(val[16:20]) + ', ' + - gb(val[20:24]) + ', ' + - gb(val[24:28]) + ', ' + - gb(val[28:32]) + '\n') - -fname='font160' -with open(fname + '.data', 'rb') as f: - data = f.read() -fname= fname + '.s' -with open(fname, 'w') as f: - f.write(" .export _font160\n") - f.write(' .rodata\n') - f.write(' .align 256\n') - f.write("_font160:\n") - for i in range(0, int(len(data)/32)): - printline(f, data[i * 32:i * 32 + 32]) diff --git a/libsrc/atari7800/font160.png b/libsrc/atari7800/font160.png deleted file mode 100644 index 845d91482459f72af2263f7dba0c4c2844fecef6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2973 zcmYk-c|6qZ769xOm06fkgsGLuluv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kdr9YomUGm<0Q_P~ AuK)l5 diff --git a/libsrc/atari7800/font160flipped.png b/libsrc/atari7800/font160flipped.png deleted file mode 100644 index ae237c74bc660ca30a72977999a37b3b54e2e726..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2956 zcmV;73v={|P) zaB^>EX>4U6ba`-PAZ2)IW&i+q+O1bvj^#EC{MRXR1alLq<4_xr8|3&Y`MI~5PBH_; zhV9p~Oi@+ElDe$F{@mpc98@Wann!K5UO2RAHKaft-sa@zndy{MMop1rL(;WCB3GOz#8W z&j9@hKE1&H0sV`=2cPrlAwOVQ-&m{PzaaY_{2Ss=1Iv3x{PhKBwV$T*Tzk*hd%b3t zT7hVN6m^45Z(-1}19G`Pt2iB(;kVys!x>jz1C-BeTpj12MhsSVA*D%4o7VjtG?1e5 zV#kwtu-t7S&W#7SB5;J0HoG*L65ws{Dk5m+_gv^6x836n3XD7nU6~M!ZnFR3EdTcM zch0i+I1tedDBoBiFFqnb8i%=aM=uaU`{B)QfZxuC{_B&lAXPAEH_U+v=G9*zy3vQW z&+vS_p!j?O03wWSNQMLqT$RLNG?z0w5pWC;l*pV#xq|^RoK`>adq?R?%~Zd zBs45)cto_w#!cXX)@t(>t+h-piGdQa68#e`ox61H)@%13z4aWB&(L9`4j(bv$jMVC zY+}~wGiIB)s4O_e(q*eIU$NTC4Xth2x^36(J9gXo&f3H3Pv>v2Mh|OzGj;m;J8Nhy z?r$OJ*ohs^z!)omaX$<|(0n+%f>il1cR0HmqbQ7#q#bU`q{A2})J1HY-nsi=?w5Eg z7Qe(B{}*%RQ1^c@S3up*ynVykJnP)J8GBXX!SoVT-=>tk!5U0w)Hz3mc}+M<$WF>G z6)W$wT-Uug@a>S`FKZZ+Min;aHL$ZGpw$Ot>v+|UKl$r19X zw#o!NPCKS{XmHjT1MKeB_!@01KEb#;n`n0jbYot*A|a)Yp?>V zJ>`7YVo4uxm8Axb^V%pBNcYy-vbu?CO@>M$xAb@k>3>S@{N0}Q%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