1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 19:55:09 +00:00
Commit Graph

3459 Commits

Author SHA1 Message Date
mrdudz
a8e9783f1c fix int const - float var 2023-09-02 01:12:00 +02:00
mrdudz
fee2b834b0 fix float const - int var 2023-09-02 00:08:21 +02:00
mrdudz
9481f7a498 fix const int + float 2023-09-01 23:43:02 +02:00
mrdudz
4390cd8874 update readme 2023-09-01 22:13:34 +02:00
mrdudz
013ef1553a beginning of a reference libm in C 2023-08-31 23:07:15 +02:00
mrdudz
56496cf8e2 some updates 2023-08-31 05:20:25 +02:00
mrdudz
26a3aa9fb7 implement rsub 2023-08-31 04:41:23 +02:00
mrdudz
8dfe97b1df updates 2023-08-31 00:37:11 +02:00
mrdudz
a77de923fc update readme 2023-08-30 02:41:46 +02:00
mrdudz
845c600824 update 2023-08-30 02:15:00 +02:00
mrdudz
29edbaa20e update readme 2023-08-30 02:13:16 +02:00
mrdudz
b7ce973a3f update readme 2023-08-28 02:05:34 +02:00
mrdudz
2da00e7daa fix output for negative numbers 2023-08-28 02:01:56 +02:00
mrdudz
c0cba14ea5 fix roundf 2023-08-27 23:12:20 +02:00
mrdudz
4c043aa98f use kernal function to convert float to string 2023-08-27 23:11:25 +02:00
mrdudz
f587e6eaf9 add code for fnegeax, and tests for it 2023-08-27 05:15:04 +02:00
mrdudz
f89b382d6f update readme to reflect current state 2023-08-27 00:16:02 +02:00
mrdudz
260fd7f004 rename 2023-08-26 22:05:27 +02:00
mrdudz
e4084eb129 Merge branch 'master' into fptest 2023-08-25 22:08:08 +02:00
Colin Leroy-Mira
148be69f97 Optimize and fix comments (thanks to Oliver Schmidt) 2023-08-19 14:11:36 +02:00
Colin Leroy-Mira
1f68846116 Avoid using mli.s to initcwd 2023-08-19 14:11:36 +02:00
mrdudz
0f7c299abc Merge branch 'master' into fptest
# Conflicts:
#	src/cc65/expr.c
#	test/todo/Makefile
2023-07-08 15:56:45 +02:00
jede
480600093c fix pla/pha instead of tmp1 2023-05-25 18:09:03 +02:00
jede
1ca9d7e9e7 fix tab 2023-05-23 23:15:23 +02:00
jede
1377ba0d36 fix compute length for read and write for telestrat target 2023-05-23 23:08:56 +02:00
bbbradsmith
76328da682 librsc/Makefile: ../lib directory must be created globally before make lib targets in parallel
prevents conflict of individual targets each trying to create ../lib
enable -j2 in make lib windows action
2023-05-08 20:57:50 -04:00
Bob Andrews
c9857d9962
Merge pull request #2069 from jefftranter/bootstrap-fix
Source listing in bootstrap.s is incorrect.
2023-05-07 13:49:12 +02:00
Bob Andrews
0d0369983a
Merge pull request #2100 from bbbradsmith/split2092-libtest
libtest target alternative to lib
2023-05-06 11:30:05 +02:00
bbbradsmith
df749abbfb libtest target alternative to libs
saves me about 20 minutes if I only want to run tests
2023-05-05 21:56:52 -04:00
Jeff Tranter
17706208e8 Add support for 48x12 video mode on Challenger 1P.
Tested on real C1P hardware.
2023-05-05 18:02:42 -04:00
Jeff Tranter
387d455cb4 Revised patch.
Uses code in source listing. Tested on a real OSI C1P machine.
2023-05-03 11:16:22 -04:00
Jeff Tranter
4d97e30b55 Source listing in bootstrap.s is incorrect.
The OSI C1P alternative boot file format works, but the code in the
source listing does not match the ASCII-coded hex translation (which
is actually used). This is confusing to anyone trying to maintain the
code.

Also, the source code did not assemble when ASM is defined.

Also removed use of branch macros and an unnecessary "<" operator.

With these changes the source file should correctly match what
is used at run time.
2023-05-01 09:49:41 -04:00
Jeff Tranter
3a5fbd34da Add KIM-1 functions to write to the 7-segment LED display and get
keypresses from the keypad.
Includes sample program illustrating how to use them.
Tested on real KIM-1 hardware.
2023-03-29 18:40:10 -04:00
Jeff Tranter
806ffe5675 Fixes and improvements to KIM-1 i/o routines.
Tested on real KIM-1 hardware.

read.s:
- Remove commented out line.
- Remove unused check for bell character.
- Remove echo of newline (hardware always echoes entered characters).
- This fixes gets() and fgets() so they return when CR is entered.

write.s:
- Fix check for adding return after linefeed (failed to work because OUTCHR changes A)
- Remove unused check for bell character.

kim1.inc:
- Add symbol for monitor entry

crt0.s:
- Jump to KIM-1 monitor by address rather than using BRK (which relies on vector being set in RAM)
2023-03-27 17:56:25 -04:00
jede
c8c6fc6a40 add xfseek 2023-03-17 23:10:15 +01:00
mrdudz
c92a8f863a Merge branch 'master' into fptest 2023-03-04 13:48:31 +01:00
Bob Andrews
c226e58a3c
Merge pull request #2007 from groessler/something_to_pull
fix for issue #1973 (printf("%c", '\0') doesn't _write '\0' to fd 0)
2023-03-04 13:30:18 +01:00
mrdudz
ffa83c32a4 clean-up of driver return codes 2023-02-26 20:03:41 +01:00
Christian Groessler
fedfc3443d fix for issue #1973 (printf("%c", '\0') doesn't _write '\0' to fd 0) 2023-02-24 02:12:19 +01:00
mrdudz
8ac5e2f7b6 fix devicestr call, so related posix function work on cbm targets 2023-01-28 15:08:14 +01:00
mrdudz
61f2f4fa56 Merge branch 'master' into fptest 2023-01-28 11:22:20 +01:00
Christian Groessler
60f56c43c7 some documentation fixes 2023-01-18 11:55:52 +01:00
Christian Groessler
67564d83c8 libsrc/atari/sound.s: fix indentation 2023-01-16 18:01:11 +01:00
Mariano Dominguez
40656ffb6e more style 2023-01-15 17:05:24 -08:00
Mariano Dominguez
6236e82850 change storage to pager zero
fix bug that kills keyboard.
2023-01-15 17:00:05 -08:00
Mariano Dominguez
27ecb555ea
Rename sound to _sound.
remove extra comments.
2023-01-10 11:16:36 -08:00
Mariano Dominguez
196962adac remove lasy pesky space 2023-01-06 10:54:16 -08:00
Mariano Dominguez
c3e1ae3478 last trailing space 2023-01-05 21:36:44 -08:00
Mariano Dominguez
8c97b54f5d more trailing spaces :( 2023-01-05 21:34:43 -08:00
Mariano Dominguez
658c1ad711 only missing space 2023-01-05 21:33:40 -08:00