1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 15:05:14 +00:00
Commit Graph

985 Commits

Author SHA1 Message Date
cuz
baa1c2060d Use SER_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2737 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 11:02:07 +00:00
cuz
bac72d6b60 Add SER_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 23:28:58 +00:00
cuz
6ef711ed04 Fixed apple2 tgi names
git-svn-id: svn://svn.cc65.org/cc65/trunk@2726 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-10 07:57:48 +00:00
cuz
8579e0ec01 New apple2 tgi driver from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2724 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-09 20:46:38 +00:00
cuz
7ef718d69e Update from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2712 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-05 18:29:06 +00:00
cuz
298767d71a Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2711 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 20:54:43 +00:00
cuz
a1092ca7da Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 20:23:09 +00:00
cuz
4fa1f8ba97 Use structs/enums
git-svn-id: svn://svn.cc65.org/cc65/trunk@2709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 19:57:27 +00:00
cuz
c15fd58d3b Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 10:15:33 +00:00
cuz
d7cbbc6f46 Clear high byte of returned value
git-svn-id: svn://svn.cc65.org/cc65/trunk@2689 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-28 15:53:24 +00:00
cuz
20582afca5 Patches by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2687 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-26 21:17:29 +00:00
cpg
353b7e66a1 implement DEFAULT_DEVICE support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:41:01 +00:00
cpg
06d79d06df fix newfd comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:40:08 +00:00
cpg
83c2a8d517 DEFAULT_DEVICE; replaced some spaces with tabs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2667 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:39:16 +00:00
cpg
178b188eac use tmp4 instead of tmp2; tmp2 might now be used by ucase_fn()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2666 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:37:17 +00:00
cuz
227f4a7bc2 Removed useless __errno imports
git-svn-id: svn://svn.cc65.org/cc65/trunk@2657 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 00:12:56 +00:00
cuz
017fc00dc9 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2654 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:41:47 +00:00
cuz
905c0e6ef8 New TGI driver by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:41:09 +00:00
cuz
9b24bbc85c Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2652 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:40:54 +00:00
cuz
ad2c6a0e18 Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2648 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:07:08 +00:00
cuz
f8c840fc55 Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2647 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:56:16 +00:00
cuz
7cafe5bbde Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2646 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:54:41 +00:00
cuz
94e041264e Optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2642 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 22:33:42 +00:00
cuz
4b5bf0e3c2 Fix doubtful syntax which causes warnings with new assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@2632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-10 10:01:27 +00:00
cuz
4698646a64 Use new assembler syntax
git-svn-id: svn://svn.cc65.org/cc65/trunk@2631 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-10 10:00:15 +00:00
cuz
99cca3618c Use new assembler syntax
git-svn-id: svn://svn.cc65.org/cc65/trunk@2629 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-09 23:00:22 +00:00
cuz
6966ccda7e Fixed the return code of fgetpos and ftell.
Made lots of functions __fastcall__.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2615 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-06 18:04:07 +00:00
cpg
6fda5c6ef7 fix returned X register value (patch by Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2612 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-05 16:41:11 +00:00
cuz
7f12a14e12 Removed emulation for BAR
git-svn-id: svn://svn.cc65.org/cc65/trunk@2605 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 17:39:00 +00:00
cuz
9c04edfaaa Make qsort __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2585 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 21:59:19 +00:00
cuz
76bbc48b99 Make bsearch __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2584 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 21:51:59 +00:00
cuz
64c3e5fd73 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2580 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 19:00:13 +00:00
cuz
6d8cdae722 Runtime function improvements by Piotr Fusik
git-svn-id: svn://svn.cc65.org/cc65/trunk@2577 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-28 08:47:47 +00:00
cuz
da6d928afb Use ROM variables MAX_X/MAX_Y
git-svn-id: svn://svn.cc65.org/cc65/trunk@2575 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-24 18:39:48 +00:00
cuz
ed2dfd50e9 Added TEXT entry point, use new assignment operator
git-svn-id: svn://svn.cc65.org/cc65/trunk@2572 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 10:02:59 +00:00
cuz
d168bbdb93 DONE/GETPALETTE/GETDEFPALETTE must no longer return an error code.
Used TGI_API_VERSION.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:50:57 +00:00
cuz
d5dc5a7552 DONE does no longer set an error code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2570 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:38:51 +00:00
cuz
ca72fb45b4 DONE, GETPALETTE and GETDEFPALETTE will no longer return errors.
Use TGI_API_VERSION.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2568 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:29:12 +00:00
cuz
24d58573fe GETDEFPALETTE will no longer return an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@2567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:28:01 +00:00
cuz
e3e7ef9701 Used TGI_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2566 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:05:50 +00:00
cuz
2c7218b5d9 Fixed a bug in memcpy
git-svn-id: svn://svn.cc65.org/cc65/trunk@2562 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 21:04:22 +00:00
cuz
b7b9455fcd Fixed problem with tgi_init and tgi_setpalette
git-svn-id: svn://svn.cc65.org/cc65/trunk@2553 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-21 10:03:09 +00:00
cuz
096d23ccf0 Use the new := operator
git-svn-id: svn://svn.cc65.org/cc65/trunk@2543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 00:53:14 +00:00
cuz
3f06947b36 Squeeze two cycles out of the abs() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2508 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:59:00 +00:00
cuz
23c35f27f8 Improved 65c02 support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:52:12 +00:00
cuz
1a82023fef Replaced /bin/bash0 by new CT_NONE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2499 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:59:58 +00:00
cuz
cf49904e69 Added ctype.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2498 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:59:41 +00:00
cuz
6afee6fb05 New target supervision
git-svn-id: svn://svn.cc65.org/cc65/trunk@2497 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:44:20 +00:00
cuz
5cc79eaf15 Squeezed a few bytes out of the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 21:09:24 +00:00
cuz
c5e5205e94 Make setlocale __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-02 21:44:56 +00:00
cuz
0f658a210f Add zlib modules for all platforms
git-svn-id: svn://svn.cc65.org/cc65/trunk@2465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 20:59:06 +00:00
cuz
ed6a2f5c86 New joystick driver, converted from c64 one
git-svn-id: svn://svn.cc65.org/cc65/trunk@2458 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-28 21:41:15 +00:00
cuz
873d9adde9 Use symbolic names instead of numbers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-28 21:39:20 +00:00
cuz
5a0041df7a Added two more joystick drivers from groepaz
git-svn-id: svn://svn.cc65.org/cc65/trunk@2454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-27 20:14:31 +00:00
cuz
86a2019c50 Fixed sprite expand registers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-25 18:50:14 +00:00
cuz
03560318ef Make the stuff compile
git-svn-id: svn://svn.cc65.org/cc65/trunk@2445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-23 20:11:39 +00:00
cuz
73941d8f48 New version from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@2444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-23 20:05:32 +00:00
cuz
fe37c38972 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-27 09:48:10 +00:00
cuz
a7acdf7072 Fixed a bug, splitted the where.s module into wherex.s and wherey.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2415 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-26 20:14:43 +00:00
cuz
676e8ff513 Working on the serial driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2414 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-25 14:52:46 +00:00
cuz
296b417502 API changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-22 11:23:48 +00:00
cuz
bc9f2678a2 Fixed a problem and a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-21 20:35:26 +00:00
izydorst
2c56da70fe reverted last change, it was nonsense considering how functions are called
git-svn-id: svn://svn.cc65.org/cc65/trunk@2392 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 12:19:59 +00:00
izydorst
e1c6745c9a fixed a bug (joy #1 would never be tested)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2390 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 12:09:39 +00:00
cuz
e5613ad9eb Ignore intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2388 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 12:06:04 +00:00
cuz
6c65ea7d4a memcpy and memmove have been split
git-svn-id: svn://svn.cc65.org/cc65/trunk@2386 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 12:04:31 +00:00
cuz
a3109620ab Changed rm -f to $(RM)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 11:59:27 +00:00
cuz
3ef773058d Changed rm -f to $(RM)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 11:51:44 +00:00
cuz
2d168babe9 Split memcpy and memmove, since the former is used a lot more often than
the latter.
Optimized the code for smaller size and greater speed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 10:17:53 +00:00
izydorst
78908d8421 removed redundant code; memset == FillRam, bzero == ClearRam with proper return values
git-svn-id: svn://svn.cc65.org/cc65/trunk@2376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 22:56:55 +00:00
izydorst
0ce4187e0e small optimization, 5 bytes saved
git-svn-id: svn://svn.cc65.org/cc65/trunk@2372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 22:38:01 +00:00
cuz
833702e25f Speed optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 11:25:31 +00:00
izydorst
f0e0c9007c documentation updates, EnterDesktop() is equal to exit(0)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2361 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 00:05:49 +00:00
izydorst
8426c00f11 fixes for quiet rm on *BSD OSes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2357 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 23:43:20 +00:00
cuz
3a78b76b95 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2355 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 20:15:01 +00:00
cpg
93f1a5b61a renamed remove.s to sysremove.s and adapted it for common/remove.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2354 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:56:14 +00:00
cpg
88243a0b26 renamed remove.o to sysremove.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@2353 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:54:46 +00:00
cpg
5c712d2087 added dummy error code 177 for sysremove
git-svn-id: svn://svn.cc65.org/cc65/trunk@2352 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:54:05 +00:00
izydorst
aa87296c1f PutDecimal takes unsigned int as decimal parameter
git-svn-id: svn://svn.cc65.org/cc65/trunk@2350 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 14:54:15 +00:00
izydorst
1c4a581284 boxes with icons don't need click vector
git-svn-id: svn://svn.cc65.org/cc65/trunk@2348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 14:49:05 +00:00
izydorst
1390fe6edd new MessageBox function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2347 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 14:34:05 +00:00
cuz
c52034c59a Cleanup use of predefined data types / defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2342 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-16 08:23:01 +00:00
izydorst
b45d25d60f same drawing mode extension like for DrawLine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 23:29:23 +00:00
izydorst
4afe11d314 include omission
git-svn-id: svn://svn.cc65.org/cc65/trunk@2337 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 22:34:07 +00:00
izydorst
9c444a4947 fixed Sleep behavior (now truly works)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2335 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 22:20:45 +00:00
izydorst
c40519859a retouch ('coz I'm not sure if it is in the head)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 22:19:32 +00:00
izydorst
5b3230c65f fixed problem with I/O access on C64
git-svn-id: svn://svn.cc65.org/cc65/trunk@2333 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 22:17:13 +00:00
cuz
d697ff8030 Removed the readjoy module - it was obsolete
git-svn-id: svn://svn.cc65.org/cc65/trunk@2332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:23:32 +00:00
cuz
74b3b70805 Ignore .ser files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:20:07 +00:00
cuz
5efa39491a Working on the serial driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2329 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:17:36 +00:00
izydorst
1ce25913dd fixed bug in DrawLine function; extended DrawLine behavior
git-svn-id: svn://svn.cc65.org/cc65/trunk@2326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:55:37 +00:00
izydorst
a0209d0a86 fixed null parameter handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@2325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:54:57 +00:00
izydorst
bc6dadb3db added sleep() implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@2324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:24:20 +00:00
izydorst
b499757ee4 geos/process/sleep.s renamed to processsleep.s due to nameclash with common file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:16:01 +00:00
izydorst
476d47dd46 sleep.s renamed to processleep.s due to nameclash with common sleep
git-svn-id: svn://svn.cc65.org/cc65/trunk@2322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:14:55 +00:00
cuz
00b4316ee3 Added first version of swiftlink driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 12:05:56 +00:00
cuz
6f986fd8ac Build remove.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@2304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-13 07:31:01 +00:00
cpg
624b88e976 use callmain; don't call getargs, it's now called from initlib
(it's now a constructor)


git-svn-id: svn://svn.cc65.org/cc65/trunk@2298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:59:51 +00:00
cpg
cfa26a93be dosdetect.o, getdefdev.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:57:50 +00:00
cpg
645413f431 moved into its own module from getargs.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:56:55 +00:00
cpg
964f4fcc06 move getdevdef and DOS detection into their own modules; renamed
getargs to initmainargs and constructorfied it


git-svn-id: svn://svn.cc65.org/cc65/trunk@2295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:56:09 +00:00
cpg
ec9b710688 this file is now in asminc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:52:24 +00:00
cuz
f78fce218c Added get_ostype.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:48:31 +00:00
cuz
deeecae2ce Added get_ostype.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:42:03 +00:00
cuz
4e76d0155d New uname function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:24:02 +00:00
izydorst
7cc6ab0c16 fixed line drawing routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 15:39:39 +00:00
cuz
8bc9f321ec New uname function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 14:24:34 +00:00
cuz
6fcf735744 Fixes to the code just written
git-svn-id: svn://svn.cc65.org/cc65/trunk@2276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:58:17 +00:00
cuz
8bfaa09b77 Added a getcwd function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:51:11 +00:00
cuz
20e805a124 New error code ERANGE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:48:45 +00:00
cuz
ad569c8f2f New chdir() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:24:25 +00:00
cuz
b7d7e6bb04 Moved reusable parts of remove into oserrcheck.
Rewrote remove().
Added rename().


git-svn-id: svn://svn.cc65.org/cc65/trunk@2272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:06:43 +00:00
cuz
26201161dd Use new --forget-inc-paths in Makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@2244 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-03 12:04:59 +00:00
izydorst
98ef42aeaf tmp1 is on zeropage hence correct .importzp
git-svn-id: svn://svn.cc65.org/cc65/trunk@2232 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-21 18:03:14 +00:00
cuz
c63d25f43f Renamed one letter label
git-svn-id: svn://svn.cc65.org/cc65/trunk@2223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-17 20:52:33 +00:00
cuz
b50ac78a2a read is now in unistd.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@2220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 19:59:13 +00:00
cuz
c798c18088 clean: includes serial/
git-svn-id: svn://svn.cc65.org/cc65/trunk@2219 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 19:58:56 +00:00
cuz
a8534fbb7c sleep.c doesn't compile on platforms without a clock function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2218 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:17:46 +00:00
cuz
286a9e3f8a lseek is now in unistd.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@2217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:17:25 +00:00
cuz
a1d914d52d Restructured former fcntl.h, added new include files unistd.h and sys/types.h.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2214 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:08:23 +00:00
cuz
86881f6b38 Make sleep() __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 09:13:35 +00:00
cuz
7c29033b58 Added creat()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2211 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 09:10:50 +00:00
cuz
737bf33c38 Added unlink()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2210 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 08:43:57 +00:00
cuz
d8449e18cd Added sleep.c from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2209 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 08:28:54 +00:00
cuz
ea7b1f5312 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2194 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 12:15:57 +00:00
cuz
6e301bc88e Added remove()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2187 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:10:54 +00:00
cuz
7b3f6f9369 Rewrote vprintf in assembler and made it __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2186 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:08:26 +00:00
cuz
975eefc7c2 Added a dummy system() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2171 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-27 18:23:38 +00:00
cuz
487ded2ce2 New mainargs.s from Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@2168 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-25 11:46:21 +00:00
cuz
3b3e1bec17 Removed the empty LOWCODE segments from the startup files. This is now
handled by the OPTIONAL segment attribute in the linker config.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2164 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-22 22:32:04 +00:00
cuz
93d37754fc Handle high 128 chars equal to lower ones
git-svn-id: svn://svn.cc65.org/cc65/trunk@2163 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-22 22:24:59 +00:00
izydorst
741362f830 forgotten name change; fixed to return more verbose information instead of boolean true/false
git-svn-id: svn://svn.cc65.org/cc65/trunk@2161 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-16 15:26:49 +00:00
cuz
43f59de557 Redid the last change, because it was bug (A must be saved across the call)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-13 10:00:39 +00:00
cuz
32389dc678 Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:19:48 +00:00
cuz
ebb44b8a4f Another small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2150 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:07:14 +00:00
cuz
62dbbcc4b6 Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:05:22 +00:00
cuz
7b4d3b9a9f Improved ctype.s from Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@2148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 09:04:36 +00:00
cuz
cd4a9e3fb0 Fixed a problem with clock() (Greg King)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2147 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 08:20:07 +00:00
cuz
1cdb90926a Replaced the incsp functions by faster (but slightly larger) versions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2146 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 22:34:16 +00:00
cuz
cfe7a8c246 Another small improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2145 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 22:27:20 +00:00
cuz
c0ca2e2a62 Improved strncpy
git-svn-id: svn://svn.cc65.org/cc65/trunk@2144 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 22:21:13 +00:00
cuz
c09ecf0efd Use stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2136 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-03 08:49:51 +00:00
izydorst
788deefec9 fix for name copying - the 16th byte would be overwritten
git-svn-id: svn://svn.cc65.org/cc65/trunk@2134 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 21:14:40 +00:00
izydorst
2c825f2bb3 support for arguments (with DeskTop drag&drop feature)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 20:16:32 +00:00
cuz
55d0596aba Use stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2132 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 16:01:03 +00:00
cuz
60943346eb Build the NES library by default
git-svn-id: svn://svn.cc65.org/cc65/trunk@2130 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 15:30:52 +00:00
cuz
58b9530c2b More additions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2128 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 15:00:45 +00:00
cuz
51a9e4351b More additions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2127 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 14:59:05 +00:00
cuz
c421fa11b8 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 14:39:05 +00:00
cuz
73240932de Added getenv()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2123 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 14:38:27 +00:00
cuz
503da1af88 Added more stuff from groepaz with cleanups
git-svn-id: svn://svn.cc65.org/cc65/trunk@2122 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 14:24:22 +00:00
cuz
d53211198b Moved more files with cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@2118 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 13:40:01 +00:00
cuz
6af35e774d Rename the standard joystick driver for the Apple ][.
Rewrite the driver code to make it shorter.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2117 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 11:53:21 +00:00
cuz
484fc43b94 Copy the joystick driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2115 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 09:21:35 +00:00
cuz
a71cdc1c6f New character type classification from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2114 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 09:13:17 +00:00
cuz
4249b76c3a Apple 2 joystick driver based on code by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2113 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 09:03:47 +00:00
izydorst
aaf1db13dd DlgBox* with 2lines arguments will accept both "" and NULL for a blank line
git-svn-id: svn://svn.cc65.org/cc65/trunk@2107 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 16:39:09 +00:00
izydorst
56e2c16aa7 making *p*error.c conform to standard (a bit, in a way)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2106 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 16:22:53 +00:00
izydorst
c87ddefa00 GetFile fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2104 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 16:18:04 +00:00
izydorst
e6464a8a0e fix on previous fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@2103 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 14:01:50 +00:00
izydorst
f7caeb5aa2 fixed incorrect exports
git-svn-id: svn://svn.cc65.org/cc65/trunk@2102 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 13:43:22 +00:00
izydorst
0a56f02279 new _poserror function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2073 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-25 16:43:22 +00:00
izydorst
d00708fbc8 added __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2072 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-25 16:43:06 +00:00
cuz
254f8a9cd6 Added _poserror, made perror __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2071 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-24 20:55:55 +00:00
cuz
fa849031d8 Working on the new serial code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2070 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-20 22:49:32 +00:00
cuz
a07cc4a4c1 Working on new serial API
git-svn-id: svn://svn.cc65.org/cc65/trunk@2069 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-18 16:29:51 +00:00
izydorst
2cba160622 added missing parameters to GetFile and SaveFile functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2068 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 16:22:17 +00:00
izydorst
8698de1bbe removed objects shared with common conio
git-svn-id: svn://svn.cc65.org/cc65/trunk@2066 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 12:25:34 +00:00
izydorst
c4fc55d877 pattern number is preserved so cclear and clrscr will not mess with drawing
git-svn-id: svn://svn.cc65.org/cc65/trunk@2065 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 11:51:43 +00:00
izydorst
04e4ecc319 removed some duplicated GEOS conio stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2064 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 11:45:53 +00:00
izydorst
c7bcd948a8 fixed endless loop exit->enterdesktop->exit->...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2063 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 10:13:01 +00:00
izydorst
92e29121d3 missing _exit import
git-svn-id: svn://svn.cc65.org/cc65/trunk@2062 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 10:08:01 +00:00
izydorst
0adb78d8b7 EnterDeskTop rerouted to _exit so donelib will always be called
git-svn-id: svn://svn.cc65.org/cc65/trunk@2061 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 10:06:58 +00:00
izydorst
9bb9bcf696 fixed comments, removed unneeded imports
git-svn-id: svn://svn.cc65.org/cc65/trunk@2060 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 10:05:21 +00:00
izydorst
b591b531e5 updated error descriptions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2059 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 09:59:16 +00:00
cuz
6bbed31ff2 Moving rs232 support to modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@2058 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-15 20:47:29 +00:00
cuz
63b0537eb7 First few nes files by groepaz
git-svn-id: svn://svn.cc65.org/cc65/trunk@2056 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-14 21:28:51 +00:00
cuz
c3b242339c Fixed capslock on startup
git-svn-id: svn://svn.cc65.org/cc65/trunk@2051 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-14 14:45:47 +00:00
cuz
9f547a5a4d Add basic support for ORIC Atmos
git-svn-id: svn://svn.cc65.org/cc65/trunk@2046 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-13 22:12:09 +00:00
cuz
d48f341bba Add conio stuff to the atmos library
git-svn-id: svn://svn.cc65.org/cc65/trunk@2045 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-13 22:11:17 +00:00
cuz
45ceda1366 Fix write: Function was not changed to use __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2044 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-13 21:51:01 +00:00
cuz
c2f5cb7cce Added some cycle counts
git-svn-id: svn://svn.cc65.org/cc65/trunk@2043 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-12 20:50:58 +00:00
cuz
37178d5141 Make screensize() fetch the values dynamically instead of using variables
that are set on startup. This is needed to support the C128, which can switch
the screen size at runtime.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2042 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-09 19:34:57 +00:00
izydorst
2ff9fd615b added GetFile implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@2038 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-04 14:41:06 +00:00
cuz
e7136de262 Fix toggle_videomode, move kernal entries to kernal.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2034 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-18 11:27:49 +00:00
cuz
39a436c466 Switch to lower case chars in toggle_videomode
git-svn-id: svn://svn.cc65.org/cc65/trunk@2031 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-17 21:09:27 +00:00
cuz
2cad9e701b Fix problem with signal.o/raise.o/sigtab.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@2021 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 11:12:38 +00:00
cuz
722581ecee Reset signal handler to SIG_DFL on a call to raise()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2018 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:08:35 +00:00
cuz
c556f14e66 Add signal() and raise()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2017 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:02:58 +00:00
cuz
a39db251a2 Make fputs __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2016 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:02:47 +00:00
cuz
06c1fafdcd Raise SIGABRT
git-svn-id: svn://svn.cc65.org/cc65/trunk@2015 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:02:31 +00:00
cuz
e39b1c963e Don't add a mode when opening files for reading
git-svn-id: svn://svn.cc65.org/cc65/trunk@2014 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-13 23:09:53 +00:00
cuz
467d8ad9c5 Added routines to handle command line params
git-svn-id: svn://svn.cc65.org/cc65/trunk@2012 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-10 21:21:46 +00:00
cuz
9257570050 New module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2010 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 11:53:17 +00:00
izydorst
d5d0d65cd6 cr/lf hell fixed
git-svn-id: svn://svn.cc65.org/cc65/trunk@2006 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 00:31:51 +00:00
cpg
14b402ab7e fixed return code for _rs232_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@2005 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 00:19:22 +00:00
cuz
a077259d2e cbm510zp -> extzp
git-svn-id: svn://svn.cc65.org/cc65/trunk@1992 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-16 15:39:32 +00:00
cuz
30223f3ec4 Copy cbm510 joystick drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1991 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-16 14:43:18 +00:00
cuz
397c068cfb Moved additional zero page locations into EXTZP segment so they are usable
inside modules.
Removed readjoy.s and added a loadable joystick driver instead.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1989 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-16 14:41:12 +00:00
cuz
0c0e27fa02 Renamed geoszp.s -> extzp.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-16 14:33:23 +00:00