cuz
d7a5fbeb1a
Removed __cdiff. Since the assembler does character set translation for
...
some time now, it is no longer needed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1573 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:53:46 +00:00
cuz
195a49a6cf
More c16 changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1572 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:53:10 +00:00
cuz
4b8a20fee6
Rename segment named NMI to LOWCODE
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:52:49 +00:00
cuz
0cfca414a0
Fixed a wrong name (see last change)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1570 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:52:11 +00:00
cuz
e77a39b2cd
exit() is __fastcall__
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:38:52 +00:00
cuz
fc714f33c2
Removed comment about a cast that is no longer necessary
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1564 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:29:15 +00:00
cuz
e41c0adbb2
New target c16
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1563 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:22:26 +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
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
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
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
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
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
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
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
cuz
de7bb15dee
Call _systime instead of always returning -1
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:36:02 +00:00
cuz
43d8ecd567
Added lots of functions from time.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:06:02 +00:00
cuz
35aaf34e20
Add the time() function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 19:54:30 +00:00
cuz
bafba1d673
Handle arguments outside char range correctly
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1501 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-11 11:58:20 +00:00
izydorst
c8597283ef
added _randomize() implementation
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1499 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-10 15:48:57 +00:00
izydorst
d1754b7457
Removed GEOS rand.s implementation in favor of random number generator from common library.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1498 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-10 15:35:10 +00:00
cuz
2f3f1df00f
New _randomize() function, do some cleanup on apple2.inc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-07 12:16:15 +00:00
cpg
f708a05d61
use always a sector size of 128 for sectors 1 to 3, ignore
...
sst_sectsize
git-svn-id: svn://svn.cc65.org/cc65/trunk@1495 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-06 23:02:48 +00:00
cpg
82696446fc
added randomize
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-06 22:21:15 +00:00
cpg
b98a3bd537
zap also deletes *.tgi files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-06 21:58:00 +00:00
cuz
abec29c613
Make realloc a __fastcall__ function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:21:14 +00:00
cuz
163c421db0
Renamed randomize to _randomize
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:17:38 +00:00
cuz
839b425890
Change initial seed to 1
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 13:19:43 +00:00
cuz
3fae969b5b
New randomize() function for nearly all platforms
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 10:48:20 +00:00
cpg
444aa7c944
turn on cursor before returning to DOS
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1486 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 00:35:16 +00:00