1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-09 01:28:58 +00:00
Commit Graph

323 Commits

Author SHA1 Message Date
izydorst
2edcb9d73b fixes in structs, added common cc65 color definitions, cgetc laces cursor in
correct line, interrupts are enabled before jumping into _main


git-svn-id: svn://svn.cc65.org/cc65/trunk@1217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 17:37:12 +00:00
cuz
7d11fa012c Straighten checking of the initialized flag in both, the C64 and C128
versions of rs232.s.
New include file common/rs232.inc, use the constants from this file instead
of defining them separately in each platform specific rs232 module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1208 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-25 06:06:52 +00:00
cpg
f709fd679b fix return Z flag: it was set if the LSB of the length was zero and
didn't care about the MSB


git-svn-id: svn://svn.cc65.org/cc65/trunk@1207 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 23:44:16 +00:00
cuz
9cfcdfab53 Use _file.inc and its constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1206 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:32:13 +00:00
cuz
6e37905b18 Completed _scanf.c, added vsscanf.c, rewrote sscanf.c.
Added an assembler include _file.inc and changed asm code that uses struct
FILE to be independent of its size.
Fixed return codes in several files to use EOF instead of -1.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1205 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:26:18 +00:00
cuz
d4cb713197 Fix return codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1204 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:23:59 +00:00
cuz
d036b8946f Working on the _scanf implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1199 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 17:11:54 +00:00
cuz
f901555264 The %p format specifier was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@1198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 16:50:35 +00:00
cuz
854f23e945 Added a few more specialized multiply routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1193 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-16 20:27:50 +00:00
izydorst
93fd8803c1 conio with fixed width and proortional font support
git-svn-id: svn://svn.cc65.org/cc65/trunk@1180 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:49:31 +00:00
izydorst
ae74057353 conio with fixed width and proportional font support
git-svn-id: svn://svn.cc65.org/cc65/trunk@1178 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:47:34 +00:00
izydorst
d537134626 moved cursor.inc to proper location
git-svn-id: svn://svn.cc65.org/cc65/trunk@1177 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:46:04 +00:00
izydorst
b88b10b822 replaced char* by const char* as it is in prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@1176 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:44:57 +00:00
izydorst
b7dd6ebaa4 error handling if drive type is unknown
git-svn-id: svn://svn.cc65.org/cc65/trunk@1175 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:44:07 +00:00
cpg
a402bd0034 ucase_fn.o: new object file; added -DUCASE_FILENAME=1 to compile flags
git-svn-id: svn://svn.cc65.org/cc65/trunk@1144 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-27 20:39:10 +00:00
cpg
22567de635 moved code to convert filename to uppercase into its own file/object
git-svn-id: svn://svn.cc65.org/cc65/trunk@1143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-27 20:37:52 +00:00
cpg
b39cc5a3a9 better error handling; rs232_params now uses its parameters
git-svn-id: svn://svn.cc65.org/cc65/trunk@1139 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 22:55:06 +00:00
cpg
4d67ecc40d initial (incomplete) implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1136 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 00:13:47 +00:00
cpg
24336238bd added remove.o and rs232.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@1135 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 00:12:03 +00:00
cpg
5369b11c39 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@1133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-09 21:53:11 +00:00
cuz
d29be293fe Do not initialize the data window address after on each entry
git-svn-id: svn://svn.cc65.org/cc65/trunk@1132 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-05 01:06:43 +00:00
cpg
26bad172a5 fix comments about fdtoiocb parameters
git-svn-id: svn://svn.cc65.org/cc65/trunk@1131 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-04 01:07:08 +00:00
cpg
edefb8ea30 fdtoiocb returns the IOCB in A!
git-svn-id: svn://svn.cc65.org/cc65/trunk@1130 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-04 01:05:33 +00:00
cpg
a86b97cc89 fixed return paramter; setup ICAX1Z so the key routine isn't confused by
opened R: devices


git-svn-id: svn://svn.cc65.org/cc65/trunk@1129 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-04 01:04:20 +00:00
cuz
df92f7585f New version from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@1125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-23 11:56:07 +00:00
cuz
f2967f26fc Update from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@1124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-18 20:05:57 +00:00
cuz
c413c5feeb Several SBC optimizations suggested by Piotr Fusik
git-svn-id: svn://svn.cc65.org/cc65/trunk@1121 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-17 11:25:12 +00:00
cuz
38f716079a Replaced calloc by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@1119 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-15 21:53:00 +00:00
cuz
edb7991884 Added inflatemem from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@1117 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-12 21:21:38 +00:00
cpg
1bcc7775b0 fix a typo in the comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1100 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-06 01:30:38 +00:00
cpg
56d98bbb93 return the hardware tv system, not the ROMs one
git-svn-id: svn://svn.cc65.org/cc65/trunk@1099 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-06 01:22:54 +00:00
cpg
d10a647baf both routines fixed (fix by Piotr Fusik)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1098 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-05 23:52:19 +00:00
cpg
aff228f0dc fixed some whitespace so emacs doesn't complain when saving; "zap" now
also removed the startup *.o files


git-svn-id: svn://svn.cc65.org/cc65/trunk@1097 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-05 22:29:47 +00:00
cuz
b258333a71 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1096 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-04 19:38:35 +00:00
izydorst
5f87dcea95 support for assert.h in GEOS, conio bugfixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1094 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-27 23:04:18 +00:00
izydorst
8ce6c9bcac simple conio support for GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1093 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-27 17:13:22 +00:00
izydorst
1949afddf5 support for 40/80 column modes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1091 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-27 17:07:19 +00:00
cuz
b9b144cf52 More banking fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1090 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-26 13:48:49 +00:00
cuz
7e65f64c6a Debug the rs232 routines. This involved using two new segments, STARTUP
and NMI to make sure the NMI handler is loaded into the low 16K of memory
which are active when the control is passed from the ROM NMI stub to the
user handler.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1086 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 19:13:36 +00:00
cuz
c80c2049b6 Use names instead of numeric addresses
git-svn-id: svn://svn.cc65.org/cc65/trunk@1085 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 19:11:52 +00:00
cuz
efce8fa8d0 Minor fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@1082 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 15:56:19 +00:00
cuz
7afca6557d Added rs232 routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1081 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 15:54:40 +00:00
cuz
5c537721bf Removed c128 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@1080 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 15:52:04 +00:00
cuz
41c0394aef Sorted object files alphabetically so it's easier to find a file in the list
git-svn-id: svn://svn.cc65.org/cc65/trunk@1079 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 11:50:45 +00:00
cuz
41529583f6 Cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1072 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 20:48:18 +00:00
cuz
20143c0187 New pushwysp implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1071 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 20:44:54 +00:00
cuz
37f7bc4c83 Removed an old comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1070 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-23 19:00:15 +00:00
cuz
d0265989bc Fixed a path
git-svn-id: svn://svn.cc65.org/cc65/trunk@1068 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-20 20:28:28 +00:00
cuz
40a9055be8 Fixed a bug in the return value of the sprintf and vsprintf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1067 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-20 15:23:34 +00:00
cuz
54f96dce9b Removed duplicate case labels and fixed the code for machines without some
or all function keys.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1027 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 13:37:22 +00:00