cuz
42463beaee
Rewrote code for better readability
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1560 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 20:46:16 +00:00
cuz
0ba44bb2d4
Small but significant shift optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1559 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 01:08:14 +00:00
cuz
263b17605c
Working on the auto build
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1558 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 21:16:14 +00:00
cuz
257e1a32b9
Working on the auto build
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1557 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 21:00:29 +00:00
cuz
b56f8ebab5
Working on the auto build
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1556 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 20:55:14 +00:00
cuz
5c864720ba
Fixed bad date
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1555 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 20:47:49 +00:00
cuz
30d7d9b7c3
Preparing auto build
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1554 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 20:40:20 +00:00
cuz
f65039f490
Add declaration of __errno
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1553 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 18:14:53 +00:00
cuz
cd552515fb
Move more common code into rwcommon.s.
...
Move declaration of __errno into errno.inc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1552 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 18:14:35 +00:00
cuz
cfbe5ec5b4
Commiting some old changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1551 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 17:04:29 +00:00
cuz
ead7de2b42
Ignore module.inc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1550 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 17:03:14 +00:00
cuz
f98c3a0758
Use the POSIX file I/O functions instead of the high level C routines to
...
save some overhead. Adapt to the new read conventions in modload.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1549 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 14:22:26 +00:00
cuz
9c7d2191aa
New calling conventions for read
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1548 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 14:21:10 +00:00
cuz
e688abde1f
Moved the zero page locations for the PET machines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1547 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 01:34:56 +00:00
cuz
ae38242db9
Added kernal replacement routines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1546 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 01:31:56 +00:00
cuz
6d498d8187
Use external symbols for the CBM kernal jump table functions. This allows
...
to emulate these functions on platforms where one or more of these functions
are not available (PET, CBM-II).
git-svn-id: svn://svn.cc65.org/cc65/trunk@1544 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-19 23:02:47 +00:00
cuz
3b081086f3
Fixed open flags for append mode
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-19 14:35:07 +00:00
cuz
b2a06ab041
Add support for append mode
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1542 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-19 14:27:06 +00:00
cuz
ca905a8705
Allow more chars in filenames
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1541 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 19:37:02 +00:00
cuz
3a95ae002b
Fixed a bug: Because of a wrong label position the code that cleared the
...
BSS was skipped.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1540 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 18:54:36 +00:00
cuz
ad1a4c370d
Don't check the IEEE status
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1539 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 18:22:26 +00:00
cuz
89dfca1eb5
Use C file I/O
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1538 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 18:21:21 +00:00
cuz
22047d8086
Removed duplicate line
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1537 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 17:37:49 +00:00
cuz
911d5c0703
Store directly into zeropage
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1536 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 17:37:13 +00:00
cuz
fd2b108cd0
Set the file name bank to bank zero on startup to make our file routines
...
work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1535 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 11:16:18 +00:00
cuz
1075d1e193
New module fileio-test.c
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1534 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-17 23:00:14 +00:00
cuz
544ff5b900
Working on the CBM file functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1533 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-17 22:45:55 +00:00
cuz
43d5800702
Added posixio-test.c
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1532 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-17 22:44:55 +00:00
cuz
751aaee63d
Finally: Commodore file I/O
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1531 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 23:45:15 +00:00
cuz
9e74c2b26f
Make close() fastcall
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1530 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 19:38:37 +00:00
cuz
70bc177714
Renamed fmode.inc -> fcntl.inc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1529 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 16:35:47 +00:00
cuz
be10b3374c
Moved fmode.inc -> fcntl.inc, add new constants
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1528 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 16:35:15 +00:00
izydorst
a68be3c601
replaced reference to vlink utility with grc call with proper options
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1527 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 13:27:10 +00:00
cuz
a3c8336725
Fix open flags, minor optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1526 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 23:52:39 +00:00
cuz
fc81b379d8
cbm_write is not __fastcall__
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1525 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 18:42:06 +00:00
cuz
ef9edbe357
Rewrite cbm_write() in assembler
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 18:21:32 +00:00
cuz
8ef3447248
Fixed an error in struct compare. For one, the behaviour was not standard
...
compliant, because struct tags were not compare, second, this lead to an
endless loop of recursive calls for a special case of wrong C code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1523 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 13:19:46 +00:00
cuz
ca1386e9d4
Removed unused code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-14 22:52:29 +00:00
cuz
b1cc64faaa
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1521 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-14 22:52:10 +00:00
cuz
57d6c2f51e
New function ReplaceType
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1520 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-14 22:51:59 +00:00
cuz
c6abc5d9d4
Make small functions inline
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1519 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-14 22:51:39 +00:00
cpg
cb389a50a1
added cursor.c and seek.c
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 18:59:12 +00:00
cuz
1407208c4c
Fixed %W/%U
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1517 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 18:08:36 +00:00
cuz
fccf00aa14
Extended the test
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:36:28 +00:00
cuz
521f30c011
Call strftime instead of formatting the time manually
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1515 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:28:45 +00:00
cuz
3ed8d565d4
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:26:05 +00:00
cuz
1455555c57
Fixed precision bug in printf family
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1513 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:17:28 +00:00
cuz
5dba474030
Added strftime
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1512 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:08:46 +00:00
cuz
e7db3d83ea
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1511 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 08:56:45 +00:00
cuz
704ce5ae22
Added _systime for all platforms
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1510 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:49:38 +00:00