1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
Commit Graph

3157 Commits

Author SHA1 Message Date
cuz
066b07c6ce Interruptor support
git-svn-id: svn://svn.cc65.org/cc65/trunk@3492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-27 18:01:57 +00:00
cuz
cbdcab4fdb Change the sematics of callirq and the existing interruptors: The interrupts
must now return carry set if the interrupt has been handled, and carry clear
if not. The callirq routine will stop calling handlers with the first handler
that claims to have handled the interrupt. callirq will return the carry flag
to the caller as it came from the last interruptor called.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3491 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-25 20:10:10 +00:00
cuz
2a688ef6fd Update from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-24 22:13:15 +00:00
cuz
b36a0193c3 Remove getenv.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-24 16:06:53 +00:00
cuz
5c2eebcda1 The 65C02 code didn't work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-23 14:12:19 +00:00
cuz
424d1d7782 Remove getenv
git-svn-id: svn://svn.cc65.org/cc65/trunk@3487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-23 14:11:41 +00:00
cuz
148dc9e5bf Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3486 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:32:29 +00:00
cuz
533e8eb9b7 getenv is now in common
git-svn-id: svn://svn.cc65.org/cc65/trunk@3485 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:31:16 +00:00
cuz
4872a27214 Added putenv
git-svn-id: svn://svn.cc65.org/cc65/trunk@3484 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:27:17 +00:00
cuz
e0319679f0 Added environment routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@3483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:26:15 +00:00
cuz
142636504f Changes from Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3482 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 14:46:38 +00:00
cuz
fa3e713cc7 Interruptor support for all systems.
New HEAP segment.
Both changes by Greg King.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 02:10:56 +00:00
cuz
deab71739a Bugfix from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 02:08:29 +00:00
cuz
c0f6dea213 Startup code with interruptor support by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3479 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 01:41:50 +00:00
cuz
9bd3aba923 Use .assert
git-svn-id: svn://svn.cc65.org/cc65/trunk@3478 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 16:52:18 +00:00
cuz
f3ac2be07d Cosmetic changes from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3477 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 16:52:10 +00:00
cuz
fcd14f3d14 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3476 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 10:37:57 +00:00
cuz
c32f04a3fd The message is now optional in .assert
git-svn-id: svn://svn.cc65.org/cc65/trunk@3475 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 09:30:01 +00:00
cuz
9cd1ef08cc Use "Assertion failed" as default message for .assert if no message was
given.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3474 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 09:28:26 +00:00
cuz
8eadae74bf Document new .assert behaviour
git-svn-id: svn://svn.cc65.org/cc65/trunk@3473 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 09:19:27 +00:00
cuz
3a22d6c1c3 Improve the assertion check
git-svn-id: svn://svn.cc65.org/cc65/trunk@3472 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-20 09:17:04 +00:00
cuz
05ab8714d2 Evaluate .asserts with known conditions in the assembler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3471 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 22:03:30 +00:00
cuz
94b11e7a73 Update from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 14:28:15 +00:00
cuz
6448e4cf51 Fixed FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@3469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 13:15:52 +00:00
cuz
977cb3d900 Place initcwd in the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:53:04 +00:00
cuz
00633945b8 Leave __cwd_buf_size intact
git-svn-id: svn://svn.cc65.org/cc65/trunk@3467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:48:05 +00:00
cuz
ccd4955384 initcwd from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:31:00 +00:00
cuz
ee81f9a686 Make the size of _cwd FILENAME_MAX chars
git-svn-id: svn://svn.cc65.org/cc65/trunk@3465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:28:11 +00:00
cuz
0994a1cbd2 Add some changes from stdio.h, FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@3464 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:23:54 +00:00
cuz
088d5baaca Fixed output path for objects
git-svn-id: svn://svn.cc65.org/cc65/trunk@3463 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-18 10:00:40 +00:00
cuz
e319900fdb Fixed definition of NULL
git-svn-id: svn://svn.cc65.org/cc65/trunk@3462 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-17 20:09:28 +00:00
cuz
19e2d56016 Initialize _cwd by use of a constructor that calls a platform specific
function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-16 14:43:22 +00:00
cuz
93ce19da63 Cosmetic changes from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3460 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-15 08:27:09 +00:00
cuz
b90ba30920 FILENAME_MAX for the apple2
git-svn-id: svn://svn.cc65.org/cc65/trunk@3459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-14 23:06:39 +00:00
cuz
6170017f07 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3458 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-14 20:36:50 +00:00
cuz
feacac1394 POSIX file I/O by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-12 09:12:48 +00:00
cuz
49d1b8f553 Changed archive name
git-svn-id: svn://svn.cc65.org/cc65/trunk@3456 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-12 08:10:06 +00:00
cuz
361bfdde2d Lynx doc update by Karri Kaksonen
git-svn-id: svn://svn.cc65.org/cc65/trunk@3455 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-11 18:55:37 +00:00
cuz
b0117e1e22 New cgetc with apple2enh fix from Oliver Scmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-08 19:27:07 +00:00
cuz
1c5c974200 mainargs rewrite by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3453 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-05 21:11:10 +00:00
cuz
c81dc42f93 Squeezed a few bytes out of open()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3452 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-03 18:04:53 +00:00
cuz
4df0cf8c7a Because of a typo, time.h did not define NULL as required by the standard.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-02 16:26:55 +00:00
cuz
5f31938c46 Slightly improved version with more comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@3448 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 10:13:09 +00:00
cuz
35aafe8b44 Update from Oliver Schmidt: Includes gotox/gotoy which were missing before.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 09:59:53 +00:00
cuz
08808c0ec9 Renamed O65_OS_CC65_MODULE -> O65_OS_CC65 as in the C header.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3446 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 08:24:22 +00:00
cuz
624c808dbc Renamed O65_OS_CC65_MODULE -> O65_OS_CC65 in the headers.
Squeezed one precious byte out of the loader code:-)


git-svn-id: svn://svn.cc65.org/cc65/trunk@3445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 08:23:56 +00:00
cpg
0093a8f388 startup code now resides in LOWCODE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 21:53:12 +00:00
cpg
9e61c50de1 add "define = yes" to LOWCODE, remove it from INIT and CODE
git-svn-id: svn://svn.cc65.org/cc65/trunk@3443 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 21:51:48 +00:00
cuz
c7726d91a9 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3442 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 20:08:13 +00:00
cuz
86f1359c1c Fixed a few problems
git-svn-id: svn://svn.cc65.org/cc65/trunk@3441 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 19:49:39 +00:00