1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00
Commit Graph

1300 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
cuz
e3df1fea4a Update from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 07:24:01 +00:00
cuz
35676b5c6b dio implementation by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-30 18:25:04 +00:00
cuz
069f0a7015 Cosmetic changes requested by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-30 18:17:57 +00:00
cuz
2c1bbf7d40 Removed tabs
git-svn-id: svn://svn.cc65.org/cc65/trunk@3429 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-28 17:27:04 +00:00
cuz
939f6334dc Remove obsolete files
git-svn-id: svn://svn.cc65.org/cc65/trunk@3428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-28 17:05:31 +00:00
cuz
0a7067e89b Squeezed out a few bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3427 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-28 16:01:08 +00:00
cuz
5e6ca22fe3 Fixed "statement has no effect" warnings.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3425 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-27 20:14:49 +00:00
cuz
dd21ca9e0b Ignore ready built drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@3424 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-26 17:23:58 +00:00
cuz
1bf894cf44 New version from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3423 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-26 17:23:14 +00:00
cuz
071c58bda2 New version from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3421 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-26 17:03:30 +00:00
cuz
54240ffad3 Move constructor code into the INIT segment. Note: Didn't change any
obsolete modules.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3407 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:38:46 +00:00
cuz
8e95d036e3 Move constructor code into the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:34:01 +00:00
cuz
d0bee35728 Move constructor code into the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:28:46 +00:00
cuz
6ec87c5dd9 Move initialization code into the init segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:06:46 +00:00
cpg
50319e2a4f clean up
git-svn-id: svn://svn.cc65.org/cc65/trunk@3396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-20 00:39:46 +00:00
cpg
fcf1a05454 add query_sectorsize: query sector size of disk by reading sector #4
and making a status command ($53) to the drive: initial check-in,
needs cleanup


git-svn-id: svn://svn.cc65.org/cc65/trunk@3394 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 01:04:41 +00:00
cpg
03a0c61768 dioqsize.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@3392 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 00:58:26 +00:00
cpg
15d7996bfc initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@3391 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 00:57:26 +00:00
cuz
6c796774d8 Code improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@3385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 10:28:54 +00:00
cuz
100fbfc0d1 Fixed a bug (report and patch by Greg King)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:59:54 +00:00
cuz
bc5d046503 Fixed tab removal which somehow went wrong
git-svn-id: svn://svn.cc65.org/cc65/trunk@3382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:38:30 +00:00
cuz
de4162a63f Removed tabs from the foreign sources
git-svn-id: svn://svn.cc65.org/cc65/trunk@3379 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:22:37 +00:00
cuz
0a12a012e6 New cscanf routines by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3378 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:21:54 +00:00
cuz
d406a9f677 Scanf improvements by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3377 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:19:59 +00:00
cuz
a4f6f14a6b Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-08 20:53:48 +00:00
cuz
bd2185c57b Improved mainargs code from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3366 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-11 07:02:43 +00:00
cuz
8188795240 New code from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3351 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-06 12:26:47 +00:00
cuz
7caee98fc0 New function: _aligned_malloc
git-svn-id: svn://svn.cc65.org/cc65/trunk@3349 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:07:23 +00:00
cuz
18e3e7cb11 Added a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:05:35 +00:00
cuz
842ff39d4c New used block structure for the heap
git-svn-id: svn://svn.cc65.org/cc65/trunk@3347 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:05:11 +00:00
cuz
802f259b37 Fixed an identifier (cosmetic change)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3346 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:04:35 +00:00
cuz
2342052bc3 Slice blocks even if the remainder is just sizeof(freeblock) bytes in size.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3345 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 20:06:13 +00:00
cuz
d8fa43d7a6 Save a few bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3344 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 20:05:27 +00:00
cuz
10431b1067 Added an exit handler - code from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3341 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-21 15:56:48 +00:00
cuz
e55a4bcfd4 Changed the way, used blocks are managed
git-svn-id: svn://svn.cc65.org/cc65/trunk@3340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-19 23:09:38 +00:00
cpg
ad8a481a9e fix tmp3 return value if DEFAULT_DEVICE is enabled
git-svn-id: svn://svn.cc65.org/cc65/trunk@3337 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-17 14:33:32 +00:00
cpg
47054d90d3 rename defdev to __defdev and export it; add support for
DEFAULT_DEVICE and DYNAMIC_DD


git-svn-id: svn://svn.cc65.org/cc65/trunk@3336 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:46:28 +00:00
cpg
1727d49c8d DYNAMIC_DD support
git-svn-id: svn://svn.cc65.org/cc65/trunk@3334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:43:47 +00:00
cpg
1cb6868ddd DYNAMIC_DD
git-svn-id: svn://svn.cc65.org/cc65/trunk@3333 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:41:14 +00:00
cpg
d27b06ecd2 use DEFAULT_DEVICE definition for the default drive
git-svn-id: svn://svn.cc65.org/cc65/trunk@3330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:19:46 +00:00
cuz
569f57bc1b Fixed minor issues with the modifiers: Some modifiers where accepted (and
ignored) that do not exist.
Added C99 modifiers z, j and t.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-11 18:33:49 +00:00
cuz
95f66b8ca9 Disable interrupts while modifying the signal table
git-svn-id: svn://svn.cc65.org/cc65/trunk@3324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-10 11:50:54 +00:00
cuz
6de079ee57 Sqeezed a few bytes out of the copydata function
git-svn-id: svn://svn.cc65.org/cc65/trunk@3320 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-01 12:00:50 +00:00
cuz
0ab513b254 Use register to improve the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@3319 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-30 20:17:44 +00:00
cuz
08074a2ee3 Fixed an error and improved the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@3317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-30 18:47:25 +00:00
cuz
e506719f43 New code from Karri
git-svn-id: svn://svn.cc65.org/cc65/trunk@3316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-29 16:03:00 +00:00
cuz
18b154e6b1 Replaced vsscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:45:13 +00:00
cuz
501cc4c6c8 Replace sscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:23:16 +00:00
cuz
c74253d081 Replaced fscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3313 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:11:17 +00:00
cuz
163c4e2fc8 Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:10:47 +00:00
cuz
928acfee6c Removed an unused import
git-svn-id: svn://svn.cc65.org/cc65/trunk@3311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:09:56 +00:00
cuz
626314e4cb Replace vscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3307 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 18:23:24 +00:00
cuz
35b7d549f4 Replace vfscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 14:56:54 +00:00
cuz
dbb003c9ac Added assembler include function for _scanf
git-svn-id: svn://svn.cc65.org/cc65/trunk@3304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 14:45:49 +00:00
cuz
7cf5f27ec6 Added vscanf
git-svn-id: svn://svn.cc65.org/cc65/trunk@3303 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 23:16:57 +00:00
cuz
b1d4e1613b Rewrote _scanf. It does need some tests and improvements, but it's a more
standard version than before, and it does support the necessary functionality
to support scanf functions for files.
Added vfscanf, fscanf and vfscanf.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 22:16:54 +00:00
cuz
e35b91ed3b Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3300 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-25 13:18:20 +00:00
cuz
14e40851e9 New kbhit and cgetc functions from Karri
git-svn-id: svn://svn.cc65.org/cc65/trunk@3295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-13 10:34:06 +00:00
cuz
9037886381 New function mouse_geterrormsg()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:41:18 +00:00
cuz
a939b2b7e9 Added the IRQ entry
git-svn-id: svn://svn.cc65.org/cc65/trunk@3287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:33:08 +00:00
cuz
8b0c3d3425 Use the new TGI_HDR structure.
Added an interrupt entry point for the drivers.
Rewrote tgi_unload to avoid problems with the tgi_drv pointer.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3284 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:30:26 +00:00
cuz
3088254f57 Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:24:33 +00:00
cuz
84be744418 Moved additional zeropage variables into an extra module.
Added interrupt vector to joystick driver.
New code from Karri.
Rewrote joystick initialization to make it somewhat shorter.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3281 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:51:02 +00:00
cuz
dc781be7f9 Add the irq entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:27:38 +00:00
cuz
16c81eb942 Add the irq entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:12:57 +00:00
cuz
5aee1c5397 Export the interrupt entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:09:01 +00:00
cuz
116ade035c Added the IRQ entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:05:26 +00:00
cuz
ea75fef1bf Disable the IRQ before calling mouse_uninstall
git-svn-id: svn://svn.cc65.org/cc65/trunk@3273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 12:58:43 +00:00
cuz
f9c8634346 Set view and draw pages
git-svn-id: svn://svn.cc65.org/cc65/trunk@3272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-03 18:33:23 +00:00
cuz
ec3dc8f73d New submakefile use
git-svn-id: svn://svn.cc65.org/cc65/trunk@3271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 21:21:06 +00:00
cuz
4e34062fde Ignore the drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@3268 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 21:02:20 +00:00
cuz
45b6a6f20c Added nes-stdjoy.s from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3267 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 21:01:50 +00:00
cuz
463712217c Add interrupt handling code from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:44:30 +00:00
cuz
b74f658b93 Add definitions for tools so the makefile is useful by itself.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:35:40 +00:00
cuz
303304fe90 Add definitions for tools so the makefile is useful by itself.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:28:26 +00:00
cuz
44197d3708 Use get_tv.inc. Fix high byte of returned value.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3261 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:15:23 +00:00
cuz
b5db6e9e7b New function get_tv
git-svn-id: svn://svn.cc65.org/cc65/trunk@3260 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:07:38 +00:00
cuz
7b13d79bde Use get_tv.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@3259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:05:19 +00:00
cuz
75f7b6cf4e Add definitions for tools so the makefile is useful by itself.
Added the get_tv module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 18:58:48 +00:00
cuz
aef7a94730 Removed an unused rts
git-svn-id: svn://svn.cc65.org/cc65/trunk@3257 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-21 21:37:41 +00:00
cuz
c2f003449d New upload module
git-svn-id: svn://svn.cc65.org/cc65/trunk@3254 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-15 21:26:34 +00:00
cuz
08ee93cbad Added tgi_ioctl
git-svn-id: svn://svn.cc65.org/cc65/trunk@3252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 18:24:52 +00:00
cuz
acfe060afb Minor fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@3250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 17:40:09 +00:00
cuz
20d1cb2054 New module eeprom.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@3247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 17:29:22 +00:00
cuz
4964382c67 Added joystick and tgi driver by Karri Kaksonen
git-svn-id: svn://svn.cc65.org/cc65/trunk@3246 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 16:50:50 +00:00
cuz
d7c36aad43 Adjusted startup code for new linker config
git-svn-id: svn://svn.cc65.org/cc65/trunk@3245 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 16:50:13 +00:00
cuz
b6db1d5a84 Added lynx_change_framerate()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3240 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-11 07:19:13 +00:00
cuz
dd6ce2fddd New get_tv function from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 20:23:15 +00:00
cuz
25cf8a3d27 The VIC20 doesn't have PALFLAG (Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3229 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 20:21:33 +00:00
cuz
4233f92e9a Removed an unused .import
git-svn-id: svn://svn.cc65.org/cc65/trunk@3227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 19:56:29 +00:00
cuz
d3d9ab428b Added ctype.s to make the isxxx() functions work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3226 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:53:47 +00:00
cuz
4c06d021c6 Move startup code to STARTUP segment.
Added several "do nothing" files.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:52:22 +00:00
cuz
9994e60b49 Started to add lynx files contributed by Karri Kaksonen <karri@sipo.fi>
with minor modifications.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:14:19 +00:00
cuz
fed048bf8a Added lynxlib target
git-svn-id: svn://svn.cc65.org/cc65/trunk@3221 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:11:29 +00:00
cuz
cfe3eda416 Replaced putchar by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-06 21:42:17 +00:00
cuz
cfef8e1e0d Renamed __IRQFUNC_xxx -> __INTERRUPTOR_xxx
git-svn-id: svn://svn.cc65.org/cc65/trunk@3189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-09-20 10:24:59 +00:00
cpg
3925f0cac9 fix a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@3181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-09-15 19:33:52 +00:00
cuz
5681334d52 Fixed a bug: Closing all files on exit did not work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3175 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-08-09 10:38:12 +00:00
cuz
8eb898d0d1 Adjust result to user visible size
git-svn-id: svn://svn.cc65.org/cc65/trunk@3159 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-17 12:18:51 +00:00
cuz
16f2918902 New function heapblocksize()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-17 12:05:36 +00:00
cpg
449e602e12 zap also deletes *.ser and *.mou files
git-svn-id: svn://svn.cc65.org/cc65/trunk@3151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-09 19:46:30 +00:00
cpg
bb9d07430f revert last change
git-svn-id: svn://svn.cc65.org/cc65/trunk@3148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-09 19:23:13 +00:00
cuz
a4c4e995a3 Added lasr.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3144 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-05 22:38:21 +00:00
cuz
c122f18605 New code for the shift functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-05 22:24:06 +00:00
cuz
ddf012b94d Changed an error message
git-svn-id: svn://svn.cc65.org/cc65/trunk@3126 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:29:31 +00:00
cuz
9b7fcec4b4 Fixed an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@3123 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:06:36 +00:00
cuz
1297374ea7 New module tgi_geterrormsg.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@3122 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:02:05 +00:00
cpg
aeadc056c7 one byte space optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3116 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-09 19:53:13 +00:00
cuz
64fdaa4629 Remove dependency on rom.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3091 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-04 17:54:15 +00:00
cuz
0b6da0f1e4 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3087 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-04 14:47:21 +00:00
cuz
9e57bb5dd5 Copy the new atmos tgi driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@3081 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 21:28:56 +00:00
cuz
6f14319eb6 TGI driver by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3080 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 21:27:56 +00:00
cpg
f6d59f6e17 prepend a "_" to clib runtime functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3076 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 19:43:11 +00:00
cuz
2de3291ddb Fixed symbol usage
git-svn-id: svn://svn.cc65.org/cc65/trunk@3075 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 17:42:56 +00:00
cuz
9a1bab361f Improvements by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3074 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 15:05:41 +00:00
cpg
61ca515494 small optimization; fix line buffered read of length 0
git-svn-id: svn://svn.cc65.org/cc65/trunk@3065 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-01 20:25:44 +00:00
cuz
5fc98bd69a Comment fixes by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3061 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-31 19:35:30 +00:00
cuz
e625fcea95 Small fix by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3059 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-31 19:30:27 +00:00
cuz
01a424b70c Added oserrlist.s from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3058 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-31 19:27:54 +00:00
cpg
16634884af fix comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3054 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-28 22:05:01 +00:00
cpg
e13ad6372c LINEBUF
git-svn-id: svn://svn.cc65.org/cc65/trunk@3053 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-28 22:04:33 +00:00
cpg
0b658d7319 implement line buffered reads, optional with LINEBUF define
git-svn-id: svn://svn.cc65.org/cc65/trunk@3052 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-28 22:01:14 +00:00
cuz
1d7884fa94 Add support for pushed back characters from ungetc()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3043 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 20:54:46 +00:00
cuz
b61b5f3ec5 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3041 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 14:33:43 +00:00
cuz
57851eda12 Squeezed out a few bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3039 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 23:01:53 +00:00
cuz
bfdfd83fde __seterrno is now a common function available on all platforms with slightly
different calling conventions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3038 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:56:31 +00:00
cuz
d44cdad9ce Add support for ungetc, fix non standard compliant behaviour
git-svn-id: svn://svn.cc65.org/cc65/trunk@3037 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:54:01 +00:00
cuz
dc16edb6b2 Implemented the ungetc function
git-svn-id: svn://svn.cc65.org/cc65/trunk@3036 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:39:17 +00:00
cuz
f36b52f2aa Make fseek support ungetc, fix non standard compliant behaviour
git-svn-id: svn://svn.cc65.org/cc65/trunk@3035 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:29:18 +00:00
cuz
51752caa56 Squeezed out a few bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3034 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:17:58 +00:00
cuz
35aea65c61 Add support for pushed back chars
git-svn-id: svn://svn.cc65.org/cc65/trunk@3033 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:13:51 +00:00
cuz
8f7b91eea6 Use a subroutine to set errno to save some space.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3032 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:09:08 +00:00
cuz
d2351bba49 Added pushback char to struct FILE
git-svn-id: svn://svn.cc65.org/cc65/trunk@3028 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 13:16:36 +00:00
cuz
51d536da7a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3027 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 12:58:25 +00:00
cpg
5d500fa56a change Atari joystick driver name
git-svn-id: svn://svn.cc65.org/cc65/trunk@3024 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-11 21:38:41 +00:00
cpg
936e510d48 driver name is ataristd.joy
git-svn-id: svn://svn.cc65.org/cc65/trunk@3023 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-11 21:25:10 +00:00
cpg
86960297c3 return correct joystick count for XL and newer machines -- patch from
Stefan Haubenthal


git-svn-id: svn://svn.cc65.org/cc65/trunk@3021 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-11 19:31:14 +00:00
cuz
df07cf1114 New module joy_stddrv
git-svn-id: svn://svn.cc65.org/cc65/trunk@3008 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-06 08:16:14 +00:00
cuz
86b00e8157 Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3007 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-02 21:01:12 +00:00
cuz
fd80d1e7c9 Added command line param evaluation
git-svn-id: svn://svn.cc65.org/cc65/trunk@3000 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:16:41 +00:00
cuz
f77feb7452 Added the mouse_move module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2998 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:06:14 +00:00
cuz
feff4843ed Copy mouse drivers using new names
git-svn-id: svn://svn.cc65.org/cc65/trunk@2997 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:06:00 +00:00
cuz
29d453d5dd Added routine to parse command line args
git-svn-id: svn://svn.cc65.org/cc65/trunk@2996 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:05:30 +00:00
cuz
215955ecba Added address of FETCH routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2995 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:03:09 +00:00
cuz
e68196c252 Add command line evaluation for the Plus/4
git-svn-id: svn://svn.cc65.org/cc65/trunk@2994 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 11:57:50 +00:00
cuz
c62b4ae73f Rename INBUF to FNBUF, add basic buffer
git-svn-id: svn://svn.cc65.org/cc65/trunk@2993 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 11:55:43 +00:00
cuz
dadaf734af Rename FNAM_ADR to FNAM, use new := operator for addresses
git-svn-id: svn://svn.cc65.org/cc65/trunk@2992 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 11:53:59 +00:00
cuz
6211fe8205 New command line parsing routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2990 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:48:06 +00:00
cuz
6aae136a00 Set FNAM_BANK *after* calling constructors
git-svn-id: svn://svn.cc65.org/cc65/trunk@2989 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:47:57 +00:00
cuz
657f495500 Use new := operator, added a few addresses
git-svn-id: svn://svn.cc65.org/cc65/trunk@2988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:47:33 +00:00
cuz
28eec78cad Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2987 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:10:23 +00:00
cuz
35a099bb81 Rewrote argument parsing
git-svn-id: svn://svn.cc65.org/cc65/trunk@2984 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 08:43:35 +00:00
cuz
2b57b0e4f4 Small speed improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2979 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-19 11:38:51 +00:00
cuz
368cdbf115 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2975 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-05 13:36:10 +00:00
cuz
01f864bcf1 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2974 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-05 12:46:51 +00:00
cuz
4ae1e7bbb7 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2973 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 20:43:08 +00:00
cuz
b67169c979 Fixed NTSC/PAL issue
git-svn-id: svn://svn.cc65.org/cc65/trunk@2972 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 20:42:34 +00:00
cuz
61238a6c4c Small fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@2971 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:29:10 +00:00
cuz
0d7cf8ebce Use new callirq function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2970 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:28:57 +00:00
cuz
5e50355f2a Ignore mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2969 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:28:26 +00:00
cuz
526b10147d Added a specialized callirq routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2968 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:15:45 +00:00
cuz
71cdffebdd Applied a graphics driver bugfix sent by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@2967 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 12:30:50 +00:00
cuz
e4de88958e Loadable mouse driver for the C128
git-svn-id: svn://svn.cc65.org/cc65/trunk@2966 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-29 17:27:48 +00:00
cuz
663bce6cd7 Change MOVE routine calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2965 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-29 16:44:39 +00:00
cuz
a8ec7aafae Removed unused file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2963 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-29 15:22:57 +00:00
cuz
e4554505d6 Optimized the condes routine, because it is used to schedule interrupt
handlers on many platforms, so too many cycles are evil.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2962 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-25 07:58:58 +00:00
cuz
5e1bbfce87 New mouse API
git-svn-id: svn://svn.cc65.org/cc65/trunk@2959 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:56:13 +00:00
cuz
cfe8c8d934 Removed the old mouse module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2958 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:55:35 +00:00
cuz
31595342d6 Mouse driver implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@2957 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:54:24 +00:00
cuz
5f3ed8826f Added an interrupt facility similar to that on the C128 and Plus/4
git-svn-id: svn://svn.cc65.org/cc65/trunk@2956 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:50:15 +00:00
cuz
461696e15f Wrapper for mouse_box
git-svn-id: svn://svn.cc65.org/cc65/trunk@2955 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:49:37 +00:00
cuz
e5854b0d7a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2954 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 20:37:40 +00:00
cuz
3bfbaee6a6 Working on loadable mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2953 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-21 22:12:06 +00:00
izydorst
e1b4d06d28 - fixed wrong parameters for <, >
git-svn-id: svn://svn.cc65.org/cc65/trunk@2944 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-19 23:03:21 +00:00
cpg
098dfa2168 recognize MyDOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@2936 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-16 22:48:20 +00:00
cpg
550afe3afa add MyDOS detection (from Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2935 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-16 22:47:50 +00:00
cuz
278b62832e New mouse show/hide routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2934 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-16 19:27:48 +00:00
cpg
5f4a3742e6 add MyDOS error codes, contributed by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2932 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-15 21:08:08 +00:00
cpg
d54081896a adapt to new value of dummy error code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2931 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-15 21:02:04 +00:00
cuz
c7eaae5d07 New apple2enh target library
git-svn-id: svn://svn.cc65.org/cc65/trunk@2927 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 23:25:35 +00:00
cuz
1b588fd831 apple2enh fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2926 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 23:25:22 +00:00
cuz
3e6393c279 Added a Makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@2925 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 23:25:11 +00:00
cuz
0008f12107 Contributed files from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@2920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 21:42:44 +00:00
cuz
a942017c96 Remove break registers as absolute variables
git-svn-id: svn://svn.cc65.org/cc65/trunk@2919 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 21:41:30 +00:00
cuz
175cba5701 Fixed key definitions (were removed from apple2.h)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2917 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 21:35:47 +00:00
cuz
a57deeb58a Reworked version by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@2913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-11 21:54:22 +00:00
cuz
7a5d4f3138 Fixed issues with the last change: The return code must be pulled from stack
before the stack pointer is reset.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2906 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-08 20:38:58 +00:00
izydorst
d923233a53 - fixed bug which prevented DrawPoint/Line from drawing
git-svn-id: svn://svn.cc65.org/cc65/trunk@2897 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-05 17:13:52 +00:00
cuz
af461406cb Fix: No ST constant available
git-svn-id: svn://svn.cc65.org/cc65/trunk@2885 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-02 17:10:43 +00:00
cuz
220e5a3898 Place the return code into ST
git-svn-id: svn://svn.cc65.org/cc65/trunk@2884 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-02 17:08:07 +00:00
cuz
910f9277ac Place the return code into ST
git-svn-id: svn://svn.cc65.org/cc65/trunk@2883 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-02 16:59:52 +00:00
cuz
be5adac693 Use the assembler version as BASIC line number, so the version of the
assembler (and probably compiler) can be determined from a compiled
executable. Nice idea from Stefan Haubenthal.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2880 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 13:34:12 +00:00
cuz
f0250724a1 Working on the mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2879 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 12:26:50 +00:00
cuz
5ed647b99e New joystick driver contributed by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2878 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 12:23:45 +00:00
cuz
e717b44d4d Fixes/improvements from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2873 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-09 17:39:55 +00:00
cuz
1b73d9d254 New module from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2870 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-04 21:24:37 +00:00
cuz
d237a9fa23 Remove an unused include
git-svn-id: svn://svn.cc65.org/cc65/trunk@2867 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-04 21:14:43 +00:00
cuz
7bea8431e2 Two fixes from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2866 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-04 21:12:01 +00:00
izydorst
e94afbc0dd added ExitTurbo before showing DlgBox - this allows for safe recover after ActionReplay freeze
git-svn-id: svn://svn.cc65.org/cc65/trunk@2865 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-02 23:28:00 +00:00
cuz
d428d3cec7 More mouse functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2859 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-30 19:14:17 +00:00
cuz
904780547c More mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2856 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-30 08:08:07 +00:00
cuz
30d99a4d56 New loadable mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 21:25:15 +00:00
cuz
96ef6d828f PET-II improvements
git-svn-id: svn://svn.cc65.org/cc65/trunk@2849 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 18:35:00 +00:00
cuz
7c609c4e8e Fix an incomplete statement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2848 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 19:31:23 +00:00
cuz
dada43f570 More cbm510 changes to make file I/O and kernal access work
git-svn-id: svn://svn.cc65.org/cc65/trunk@2846 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 16:11:14 +00:00
cuz
40a48c59b8 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2845 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 16:10:53 +00:00
cuz
63437207a1 Use direct access to the position variables, since gotoxy uses them also.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2844 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 15:51:11 +00:00
cuz
1af46f9998 The RAM driver operates of course in bank #1 (not #2)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2843 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 15:46:23 +00:00
cuz
f3b1ddfe8a Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2842 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 14:32:37 +00:00
cuz
dbbc0032e8 Started to remove obsolete RS232 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-26 21:44:52 +00:00
cuz
8636914964 Cleanup and preparation for the new design
git-svn-id: svn://svn.cc65.org/cc65/trunk@2839 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-26 21:43:18 +00:00
cuz
b9327d23f8 Removed the old rs232 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2838 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-26 21:05:25 +00:00
cuz
a60eebad94 Copy the atari joystick driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2824 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 23:19:27 +00:00
cuz
99d1516b86 Prodos does only allows dots in filenames
git-svn-id: svn://svn.cc65.org/cc65/trunk@2821 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 21:37:36 +00:00
cuz
97494bc1f3 Design change: Do keyboard polling internally without calling the kernal
in the system bank. For one this performs better (several %), second it
allows to handle the function keys in conformance with other platforms.
Without the custom keyboard routine, we would have to apply some more
magic to the function keys to make them work as with other cc65 targets.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2811 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 18:43:25 +00:00
cuz
028d03b482 Fix a kernal problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2810 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 13:13:26 +00:00
cuz
b7c203856b Fix a Plus/4 kernal problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2809 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 13:11:55 +00:00
cuz
acf1962312 New extended memory driver contributed by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2805 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 11:02:52 +00:00
cuz
cf49ca3d0a New mainargs module from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2804 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 10:56:34 +00:00
cuz
16f737af65 Minor changes and cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@2796 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 23:38:42 +00:00
cuz
a7042ddbe4 Complete redesign of the CBM610 support.
Use wrappers to call the kernal in bank 15 instead of implementing kernal
functionality within the cc65 libs (eats performance but is much smaller and
simpler).
Improved startup/shutdown code allows a return to the system bank without
calling the BASIC cold start vector.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 23:13:26 +00:00
cuz
018a68a2fe Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2792 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 23:11:30 +00:00
cuz
fa71c0582e Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2791 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 22:16:10 +00:00
cuz
e2e6a62e5c Debugged the driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2790 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 19:09:30 +00:00
cuz
290de026d1 Changed chip register names, fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2789 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 23:04:30 +00:00
cuz
96b5da41f1 Invalid error codes will set errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@2784 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 18:45:26 +00:00
cuz
4b5cd3b981 Fixed variable names
git-svn-id: svn://svn.cc65.org/cc65/trunk@2783 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 12:39:21 +00:00
cuz
bd9328115d Restructuring, added first version of IEC routines (untested)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2782 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 00:12:44 +00:00
cuz
cbc53423c5 kiec.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2781 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 00:12:08 +00:00
cuz
c92b4ac06c Changes from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2780 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-18 17:41:57 +00:00