1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-20 17:20:49 +00:00
Commit Graph

3139 Commits

Author SHA1 Message Date
Wayne Parham 6e79379405 Synertek Systems Sym-1 machine-specific files 2021-05-09 16:34:53 -05:00
polluks2 b1f81d5e21 Optimised code 2021-05-08 19:48:31 +02:00
Polluks 4c37f12a4d Optimised strlen 2021-05-08 19:36:37 +02:00
Greg King 216bb22b20 Added a special version of a function which uses an absolute addressing mode to access the zero page.
The PCEngine needs such operands to be redirected to RAM page $20 explicitly.  Fixes #1482; fixes #1483.
2021-05-04 12:10:43 -04:00
Oliver Schmidt 5d84a4ba13 Removed non-ASCII chars. 2021-04-19 16:06:10 +02:00
Christian Groessler 200b420562 Export LMARGN_save to C. People might want to preserve this setting in their program.
In turn rearrange startup code in order that LMARGN can be set by a 'constructor' (Do
"initlib" later.)
2021-04-01 15:19:06 +02:00
acqn 31c1172a3a zlib: Use correct (un)signedness of char in prototypes and functions.
Also ensure we are using the same constness qualifiers.
2021-03-30 19:41:20 +02:00
Greg King 710c6c6f2f Fixed cbm_k_readst() to work around a VIC-20 Kernal bug.
It properly returns the RS-232 device's status.
2021-03-25 15:22:18 -04:00
jede b9fd318985 fix space/column 2021-03-13 00:15:05 +01:00
jede c0d638a26d add clock for Telestrat target and add some Telemon primitives 2021-03-13 00:15:05 +01:00
jedeoric 4f26650228 [Telestrat] chdir management (#1419)
* add syschdir

* revert read.s

* remove extra line

* Now we update __cwd

* Fix tab

* Fix another tab

* Fix tab

* Fix tab and jmp

* fix xgetcwd

* Fix comments
2021-03-11 09:42:14 +01:00
greg-king5 23fba6cc37 Merge pull request #1412 from jedeoric/master
[Telestrat] Fix many bugs in conio Telestrat target
2021-03-09 18:44:20 -05:00
jede a05dddd0d6 Fix next column 2021-03-09 22:02:26 +01:00
jede facc1b4914 Fix cputdirect 2021-03-08 21:16:44 +01:00
jede df64fd859c Fix cvline bug 2021-03-07 23:00:15 +01:00
jede 48badc0816 Fix import return0 2021-03-06 21:40:26 +01:00
Oliver Schmidt bc8cca9fc4 Revert "Now getchar works"
This reverts commit 1fc16cb9ed.
2021-03-06 12:03:05 +01:00
Oliver Schmidt f122837955 Revert "add syschdir"
This reverts commit d83e8a3f0e.
2021-03-06 12:03:05 +01:00
Oliver Schmidt d6f2fda575 Revert "revert read.s"
This reverts commit 65d5786da5.
2021-03-06 12:03:05 +01:00
Oliver Schmidt 8ae5a4a134 Revert "remove extra line"
This reverts commit 973a5337ac.
2021-03-06 12:03:05 +01:00
Oliver Schmidt ab4ca51848 Revert "Now we update __cwd"
This reverts commit d417baf826.
2021-03-06 12:03:05 +01:00
Oliver Schmidt 558dfa285e Revert "Fix tab"
This reverts commit 17ca09ba9a.
2021-03-06 12:03:05 +01:00
Oliver Schmidt 24d63a96b1 Revert "Fix another tab"
This reverts commit 9b36565485.
2021-03-06 12:03:05 +01:00
Oliver Schmidt f9ca091bd0 Revert "Fix tab"
This reverts commit 2ae41e0a55.
2021-03-06 12:03:05 +01:00
Oliver Schmidt 1d8479b411 Revert "Fix tab and jmp"
This reverts commit bf9d4ac3bb.
2021-03-06 12:03:05 +01:00
jede bf9d4ac3bb Fix tab and jmp 2021-03-04 18:02:26 +01:00
jede 2ae41e0a55 Fix tab 2021-03-04 18:02:26 +01:00
jede 9b36565485 Fix another tab 2021-03-04 18:02:26 +01:00
jede 17ca09ba9a Fix tab 2021-03-04 18:02:26 +01:00
jede d417baf826 Now we update __cwd 2021-03-04 18:02:26 +01:00
jede 973a5337ac remove extra line 2021-03-04 18:02:26 +01:00
jede 65d5786da5 revert read.s 2021-03-04 18:02:26 +01:00
jede d83e8a3f0e add syschdir 2021-03-04 18:02:26 +01:00
jede 1fc16cb9ed Now getchar works 2021-03-04 18:02:26 +01:00
Greg King 5f145542b0 Exported the Commodore CHRIN and CHROUT Kernal functions, in the CBM libraries.
This commit complements commit 98f8064b83.
2021-03-03 17:39:53 -05:00
jede 872739b5f4 Fix comments, return line and bordercolor return 2021-03-03 22:14:29 +01:00
jede cdbe23c351 Fix missing new line in bordercolr 2021-03-01 23:21:58 +01:00
jede 3adddf5825 Merge branch 'master' of https://github.com/jedeoric/cc65 2021-03-01 23:20:37 +01:00
jede 185c451000 Fix cputdirect 2021-03-01 23:19:30 +01:00
jedeoric ba4310f589 Merge branch 'master' into master 2021-03-01 23:03:34 +01:00
jede abef6566e7 Add revers.s 2021-03-01 22:45:05 +01:00
jede 8ec6d28f92 Revert read.s 2021-03-01 22:44:06 +01:00
jede 256b22f1c7 Add bordercolor and cvline 2021-03-01 22:36:09 +01:00
jede 02e52fe24d Fix many bugs 2021-03-01 22:33:12 +01:00
Oliver Schmidt 3a7282544e Moved convert.system from geos-apple to apple2[enh].
The target util convert.system is to be used in conjunction with GEOS on the Apple II but has to be built as an "ordinary" Apple II program. The way the cc65 library build system is designed there's no way to define dependencies between targets. The solution used so far was to explicitly trigger a build of the target 'apple2enh' from the target 'geos-apple'. However, that approach tends to break parallel builds which may be in the middle of building 'appple2enh' at the time it is triggered by 'geos-apple'.

There might be ways to get this fixed - but the the cc65 library build systrem is already (more than) complex enough, so I really don't want to add anything special to it.

On the other hand there are easier ways (outside the scope of cc65) to archive what convert.system does so I don't presume convert.system to be actually used - it's more a reference type of thing.

Putting all facts together the decision was easy: Just move convert.system from the target it is used with to the target(s) it is built with.
2021-02-17 10:50:22 +01:00
Greg King 98f8064b83 Made the directory functions compatible with the Commander X16's DOS.
It's directory listing's last line says, "mb free."
2021-02-15 08:56:31 -05:00
Oliver Schmidt 8551431233 Optimized based on https://github.com/cc65/cc65/pull/1393. 2021-02-05 11:54:07 +01:00
jede a9dac3b1ef Fix X register for kbhit 2021-02-02 14:09:57 +01:00
jede b52ee25385 Rollback read.s 2021-02-02 14:09:57 +01:00
jede f622783ae1 kbhit added for telestrat target 2021-02-02 14:09:57 +01:00