1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 22:29:31 +00:00
Commit Graph

5671 Commits

Author SHA1 Message Date
Greg King
eb741e1396 Don't shift in an unknown carry bit.
If that bit happenned to be set, then it would defeat the fancy ADC shifter.
2013-09-05 11:32:50 -04:00
Oliver Schmidt
edc5ed4f54 Merge pull request #35 from greg-king5/cbm-chain
Added more comments to CBM exec().
2013-09-04 06:27:07 -07:00
Greg King
875212a850 Added more details about how the CBM exec() works. 2013-09-04 09:16:00 -04:00
Oliver Schmidt
3969d920fa Bumped driver api versions due to recent intoduction of library references. 2013-09-01 09:46:07 +02:00
Oliver Schmidt
44a056833d Merge pull request #34 from greg-king5/lower-upper
Fixed 2 string-function return-pointers.
2013-08-28 01:03:08 -07:00
Greg King
0684ab7ab9 Fixed some return pointers.
$1234 pointers were returned as $3434.
2013-08-28 02:58:41 -04:00
Oliver Schmidt
bbcc2f52b4 Merge pull request #33 from groessler/something_to_pull
em-test.c: add support for Atari
2013-08-27 13:25:29 -07:00
Christian Groessler
06162498a6 em-test.c: add support for Atari 2013-08-27 22:02:57 +02:00
Oliver Schmidt
bc992e0398 Merge pull request #31 from greg-king5/cbm-chain
Commodore exec() function
2013-08-26 23:50:34 -07:00
Greg King
67571d4f5f Changed some CPU memory-mapped register definitions from expression mode into label mode. 2013-08-26 22:02:00 -04:00
Oliver Schmidt
a9267e35b4 Merge pull request #32 from groessler/something_to_pull
minor improvements
2013-08-26 03:59:48 -07:00
Christian Groessler
887ba4d501 remove warning about missing return value; fix typo 2013-08-26 12:18:24 +02:00
Christian Groessler
13a7812cf5 add some more SIO information 2013-08-26 12:18:11 +02:00
Oliver Schmidt
bed4977b25 Merge pull request #30 from greg-king5/cbm2
Added cursor-flags initiation.
2013-08-25 04:48:31 -07:00
Greg King
6a9ab1a69a Added a little more info about how CBM program-chaining works. 2013-08-25 00:58:27 -04:00
Greg King
2d66c27462 Added test programs for the exec() function. 2013-08-25 00:49:03 -04:00
Greg King
d0fb1fe0ae Added the model-specific addresses that the CBM exec() needs. 2013-08-25 00:43:23 -04:00
Greg King
172ce14349 Made an exec() program-chaining function for the Commodore libraries. 2013-08-25 00:31:36 -04:00
Greg King
1a4d804a5f Added cursor-flags initiation.
The CBM510 runs programs in a non-system memory bank. It has its own zero page. Some things are copied from the system zero page; but, the cursor flags weren't copied. So, the cursor always blinked. That bug sometimes left cursor ghosts (reversed spaces) at the end of lines.
2013-08-23 18:19:49 -04:00
Oliver Schmidt
a49c1a5b6d Merge pull request #29 from greg-king5/mouseref
Removed commented-out "mouse_libref" lines.
2013-08-23 04:54:13 -07:00
Greg King
0159358934 Cleaned 2 source files by removing commented-out lines that are active in other files. 2013-08-23 07:36:11 -04:00
Oliver Schmidt
3671c7e19c Merge pull request #27 from greg-king5/cbm2
Added a joystick-mouse driver to the CBM510 library.
2013-08-23 04:28:49 -07:00
Greg King
004db51960 Made mousetest work better with CBM510s. 2013-08-23 03:12:16 -04:00
Greg King
1c83d8232b Added a driver to the CBM510 library that lets a joystick pretend to be a mouse. 2013-08-23 03:06:00 -04:00
Oliver Schmidt
177e967629 Added TGI color defines. 2013-08-22 16:33:30 +02:00
Oliver Schmidt
1dab0103f1 Made EXTZP segment optional on GEOS as it is used only by CONIO. 2013-08-20 07:43:47 +02:00
Oliver Schmidt
5602cf742f Adjusted comment. 2013-08-08 18:46:21 +02:00
Oliver Schmidt
f5844e58d1 Merge pull request #25 from cybernesto/master
Promoted _auxtype to a struct to gain access to additional fields
2013-08-08 09:40:50 -07:00
Mario Patiño
7d9bba213b Comments added 2013-08-08 18:23:48 +02:00
Oliver Schmidt
c4835a9303 Merge pull request #26 from greg-king5/oric
More Atmos Symbol Names
2013-08-06 09:03:44 -07:00
Greg King
6589288a04 Exposed, to C code, the names of the Atmos ROM's sound effect functions. 2013-08-06 11:12:30 -04:00
Greg King
bf160cae69 Added symbol names for useful Atmos addresses. 2013-08-06 10:13:48 -04:00
Mario Patiño
9b157a5b1e Defined a struct to contain the date and time data
To keep backward compatibility auxtype and the date/time are kept
separated.
A struct similar to the one used in dirent.h is used to access the
create_date and create_time fields.
2013-08-03 19:08:36 +02:00
Mario Patiño
be7c24177c Promoted _auxtype to a struct to gain access to additional fields
While creating files there was no possibility to explicitly set the
time or date.
This is necessary for example while copying files since the original
time and date should be kept.
2013-08-03 15:42:16 +02:00
Oliver Schmidt
d242afdf7e Added sprintf() test contributed by Ullrich von Bassewitz.
Comment from the author:

Some may remember that there was a problem with printf reported a long time
ago. I got curious and over the weekend, I wrote a program to test printf. Or
better: The underlying formatting code, which is used for the whole printf()
family of functions including cprintf and sprintf.

The result is what made me say "oops": The program tests 377 different
conversions. The cc65 printf implementation fails in 144 cases. In 31 of these
cases, it fails so badly that it outputs screens of garbage, or even crashes
the machine, so I had to disable these tests to proceed.

Please note that you can compile the code with gcc for x86, but it will show
failures. This is because the expected results are hardcoded and the integer
sizes of gcc are different, so the conversion results won't match the ones
expected in the code.
2013-07-27 17:21:07 +02:00
Oliver Schmidt
1f36066946 Merge pull request #24 from greg-king5/oric
Atmos Symbol Names
2013-07-26 03:01:10 -07:00
Greg King
f02843f05d Replaced number literals in source code with meaningful symbol names. 2013-07-26 03:33:54 -04:00
Oliver Schmidt
752141b026 Merge pull request #12 from greg-king5/lightpen
Added Inkwell lightpen drivers for the C64 and the C128.
2013-07-25 13:29:46 -07:00
Greg King
17333e4732 Fixed some line endings.
My Git and repositories are configured for POSIX; but sometimes, Windows line endings "sneak" into new files.
2013-07-25 13:53:15 -04:00
Greg King
3b544613d2 Moved the lightpen names from <mouse.h> to a new <pen.h>.
Renamed the adjuster pointer.
2013-07-25 13:32:40 -04:00
Oliver Schmidt
bba46507e1 Merge pull request #23 from groessler/something_to_pull
add "tinyshell" test program for file operations
2013-07-24 06:16:57 -07:00
Christian Groessler
1baca81341 add "tinyshell" test program for file operations 2013-07-24 15:05:25 +02:00
Oliver Schmidt
06eed1eb31 Merge pull request #22 from groessler/something_to_pull
Something to pull
2013-07-24 04:38:34 -07:00
Christian Groessler
56588aa26a fix cleanup of stack 2013-07-24 10:25:36 +02:00
Christian Groessler
f30b74ddb4 Don't import tmp1, slipped in by mistake in last commit 2013-07-24 00:45:20 +02:00
Christian Groessler
bbc31f67da implement _sysrename for Atari 2013-07-24 00:41:49 +02:00
Oliver Schmidt
2df404f14e Merge pull request #21 from groessler/something_to_pull
fix '_sysrmdir' for SpartaDOS
2013-07-16 06:52:43 -07:00
Greg King
3574f3a742 Normalized some hexadecimal addresses. 2013-07-16 01:48:57 -04:00
Greg King
641a609cf3 Moved common symbol names out of sources, and into a global include file. 2013-07-16 00:30:56 -04:00
Christian Groessler
e0aaac0088 fix '_sysrmdir' for SpartaDOS 2013-07-16 01:31:15 +02:00