IrgendwerA8
ce80624f62
ctype size optimization
2020-02-03 20:45:09 +01:00
Daniel Serpell
f68cc06ec7
Fixes Atari OS devhdl_t, init field needs an JMP byte.
...
This fixes issue #1002 .
2020-01-29 13:58:10 +01:00
Greg King
b66f7272af
Updated the cx16 library to the ROM's prerelease 36.
2020-01-11 02:20:52 -05:00
Greg King
3fa253d31f
Updated the cx16 library to the Commander X16 Kernal's prerelease 35.
2019-12-25 10:56:32 -05:00
Greg King
cab4910a7d
Added the missing BANK_RAM array to the Commander X16's header.
2019-12-10 05:59:33 -05:00
mc78
db971d8a65
Removed unnecessary #include <cc65.h> from convert.c
...
Adjusted block comments to predominant style
2019-11-19 14:08:00 +01:00
mc78
1dee2360fa
added additional empty line after header guard in cc65.h to conform to other headers
2019-11-19 14:08:00 +01:00
mc78
8d2617110f
Removed additional exit constants definitions from cc65.h to stdlih.h. Guarded the definitions by #ifdef. Removed cc65.h includes from abort and assert implementations.
2019-11-19 14:08:00 +01:00
mc78
a139c4057c
Removed CC65_ prefixes from exit statements in abort and assert code as well from definition
2019-11-19 14:08:00 +01:00
mc78
16a66f19e1
Replaced enum in cc65.h by defines. added comment that cc65 exit constants should not redefine 0 and 1 as they are reserved for exit_success and exit_failure
2019-11-19 14:08:00 +01:00
mc78
3daecfb3dd
Added enum for cc65 exit codes. replaced stdlib exit code names constants in libsrc with cc65 exit code named constants
2019-11-19 14:08:00 +01:00
Greg King
5da525e0ea
Added a standard mouse driver to the cx16 library.
2019-11-16 14:51:24 -05:00
Greg King
d78133e1f0
Updated cx16 to match the Commander X16 ROMs and emulator, release 34.
2019-11-16 13:11:40 -05:00
Greg King
9fa90e2265
Added VERA peek() and poke() to the cx16 library.
...
They simplify C programs' direct access to VERA's internal address space.
2019-10-24 05:15:42 -04:00
Stefan
96547d1dd4
Fix colors for #948
2019-10-09 06:15:38 -04:00
Greg King
3cece61525
Added character codes to change between the two CBM fonts.
2019-10-01 04:16:44 -04:00
Greg King
18afc7c703
Created a target and a library for the Commander X16 prototype computer.
2019-09-27 03:38:51 -04:00
Greg King
c53b167307
Added a charmap header that converts no character encodings.
...
It can be used in programs, on non-ASCII machines, that need to send/write ASCII strings.
2019-09-07 23:02:31 -04:00
Björn Esser
93b6efcb2f
zlib: Use correct (un)signedness of char in prototypes and functions.
...
Also ensure we are using the same constness qualifiers.
2019-06-19 19:01:30 +02:00
Oliver Schmidt
a01c4231f2
Fixed _textcolor definition.
...
The _textcolor() macro doesn't just turn on the macro optimization. It defines the return value of textcolor() - and that is supposed to be a COLOR_... value.
2019-05-08 10:22:12 +02:00
Oliver Schmidt
ac0b452834
Added '_' prefix to sin and cos.
...
Users complained that otherwise the names might clash with their functions.
2019-04-13 11:25:54 +02:00
Christian Groessler
8590de5cf3
Revert "atari5200: fix COLOR defines' names"
...
This reverts commit 87e653f47b
.
2019-04-12 12:49:38 +02:00
Christian Groessler
dfb7c0f24d
atari5200: fix COLOR defines' names
...
COLOR_RED -> COLOR_LIGHTRED and COLOR_GREEN -> COLOR_LIGHTGREEN
2019-04-12 12:49:38 +02:00
Christian Groessler
be6bba66a9
atari5200: conio now uses just four colors altogether
...
See discussion in PR #870 .
2019-04-12 12:49:38 +02:00
Christian Groessler
ec5e38617a
atari5200: implement bgcolor() and textcolor()
...
Includes some other small fixes/cleanups.
2019-04-12 12:49:38 +02:00
Christian Groessler
edd596b2a4
atari: split color.s into bordercolor.s and bgcolor.s
2019-04-12 12:49:38 +02:00
IrgendwerA8
df80d071e8
Added space after function name.
2019-03-29 22:53:04 +01:00
IrgendwerA8
3d8c3a4948
Code review adaptations, removed "cc65_" prefix from functions
2019-03-29 22:53:04 +01:00
IrgendwerA8
db8bd84a82
Changes due to code review.
2019-03-29 22:53:04 +01:00
IrgendwerA8
399250a105
Optimized mul20 & mul40 and extracted to new library.
2019-03-29 22:53:04 +01:00
IrgendwerA8
5c8854fff6
Changed enum for FP-register index.
2019-03-16 20:37:42 +01:00
IrgendwerA8
bcbcbbd9c0
AtariOS: Fix for FPIDX enum
2019-03-13 08:19:04 +01:00
Greg King
2617e9a3c0
Added a C header that translates from the source file's encoding to PetSCII.
...
It can be used to undo what "cbm_screen_charmap.h" does. Together, those headers let you mix screen-code and PetSCII string and character literals in a C source file's Assembly output.
2019-03-11 09:00:49 -04:00
Christian Groessler
fc7e79d2cc
Merge remote-tracking branch 'irgendwer/AtariOS_Structure' into master
2019-03-11 12:23:09 +01:00
IrgendwerA8
203f4c80d4
Code review changes and improved formatting.
2019-03-09 21:40:57 +01:00
IrgendwerA8
1359ad793d
Atari OS: Reestablished DCB structure, fixed union span and timer2.
2019-03-08 11:48:37 +01:00
Greg King
2362db22f7
Renamed a C header.
...
All of Commodore's 8-bit computer models use the same screen-codes.
2019-03-05 21:20:05 -05:00
Greg King
7e298e347d
Fixed the CBM screen-code C header.
...
Changed the number literals from Assembly format to C format. Swapped the (upper-/lower-case) mappings of letters because the header converts from ASCII, not PetSCII.
2019-03-05 21:20:05 -05:00
IrgendwerA8
3d9ac21b80
Added missing pointer star for Basic structure.
2019-03-05 00:26:14 +01:00
IrgendwerA8
e1a4910580
Code review changes and build fix.
2019-03-04 23:32:56 +01:00
IrgendwerA8
8ead5f2f5a
Access Atari OS variables by structure.
2019-03-03 22:50:57 +01:00
Bill Kendrick
417ef278a3
Move Atari-specific PIA reg vals to atari.h
...
PIA is also used in the Commodore PET, and for different
purposes (see http://www.6502.org/users/andre/petindex/progmod.html#pia1 ),
so extracted Atari-specific register #defines and placed them in atari.h.
2019-02-17 23:23:30 +01:00
Oliver Schmidt
10a31d006b
Add translation from PETSCII to screen codes.
2019-02-12 17:47:17 +01:00
Christian Groessler
58484449b4
remove TABs
2019-02-05 23:27:52 +01:00
Bill Kendrick
9a83284b7b
Cleaned up _pia.h register stuff a bit
...
Most documentation say that most of the bits are normally set to 1 or 0,
so just mentioning that in the comments.
A.N.A.L.O.G. issue 59 (April 1988) "Bits & Pieces" column, "Atari Zucchini"
(https://www.atarimagazines.com/analog/issue59/bits_pieces.php ) implies
that they are used for specific things, but it's not clear enough to be
useful (or specifically states "Too complex and not pertinent").
This is probably sufficient for most purposes; if any PIA / PACTL/PBCTL
experts pop up, they can tell us exactly how those 4 bits can be utilized.
2019-01-17 23:53:53 -08:00
Bill Kendrick
af8eb57f63
Atari colors into _gtia.h; NMIRES/NMIST as union
...
Use a C "union" to give both read (NMIST) and write (NMIRES) labels
to their shared register in ANTIC. (h/t @groessler).
Consolodate duplicated color definitions (HUE_..., COLOR_... and TGI_COLOR_...;
and the "_gtia_mkcolor()" macro), found in both "atari.h" and "atari5200.h",
moving it to "_gtia.h", which they both share (and which makes the most sense).
2019-01-17 22:44:25 -08:00
Bill Kendrick
32525e0ddb
atari.h: Shadow registers for hardware registers
2019-01-17 00:23:04 -08:00
Bill Kendrick
93a13315de
Comment adjustments; removed surperfluous keycodes
...
Cleaned up comments in Atari 8-bit headers.
Internal keycodes (POKEY's KBCODE) were already #defined in atari.h,
so didn't need a whole new set in _pokey.h.
2019-01-16 23:29:41 -08:00
Bill Kendrick
4b61c54092
Relocate register values outside structs, + more
...
Relocated register #define'd values outside of the structs,
improved comment format, expanded & corrected some things.
h/t Trevin Beattie (https://user.xmission.com/~trevin/ ) for the PIA
register descriptions.
2019-01-15 01:24:12 -08:00
Bill Kendrick
d52af69d69
Adjustments per most feedback on cc65 PR 831
...
(I appreciate the feedback!)
2019-01-14 20:47:05 -08:00