]>
git.sur5r.net Git - cc65/log
Bas Wassink [Sun, 24 Mar 2019 19:49:53 +0000 (20:49 +0100)]
Merge https://github.com/cc65/cc65
Pull to fix extra changes in PR #863
Greg King [Sun, 24 Mar 2019 18:39:04 +0000 (14:39 -0400)]
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
Daniel Serpell [Sat, 23 Mar 2019 15:19:25 +0000 (12:19 -0300)]
Adds address after JVB instruction in the display list example.
Bas Wassink [Sat, 23 Mar 2019 00:14:04 +0000 (01:14 +0100)]
Fix 32/64-bit int/pointer casts
Bas Wassink [Fri, 22 Mar 2019 21:54:05 +0000 (22:54 +0100)]
Remove trailings spaces from CBM-related asm files
IrgendwerA8 [Sat, 16 Mar 2019 19:37:42 +0000 (20:37 +0100)]
Changed enum for FP-register index.
IrgendwerA8 [Wed, 13 Mar 2019 07:19:04 +0000 (08:19 +0100)]
AtariOS: Fix for FPIDX enum
Greg King [Mon, 11 Mar 2019 12:59:30 +0000 (08:59 -0400)]
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.
Christian Groessler [Mon, 11 Mar 2019 11:23:09 +0000 (12:23 +0100)]
Merge remote-tracking branch 'irgendwer/AtariOS_Structure' into master
IrgendwerA8 [Sat, 9 Mar 2019 20:40:57 +0000 (21:40 +0100)]
Code review changes and improved formatting.
IrgendwerA8 [Fri, 8 Mar 2019 10:48:37 +0000 (11:48 +0100)]
Atari OS: Reestablished DCB structure, fixed union span and timer2.
Greg King [Tue, 5 Mar 2019 21:18:20 +0000 (16:18 -0500)]
Renamed a C header.
All of Commodore's 8-bit computer models use the same screen-codes.
Greg King [Tue, 5 Mar 2019 20:52:00 +0000 (15:52 -0500)]
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.
Christian Groessler [Tue, 5 Mar 2019 21:21:15 +0000 (22:21 +0100)]
Merge pull request #852 from IrgendwerA8/AtariOS_Structure
Access Atari OS variables by structure. seems good. Thanks!
IrgendwerA8 [Mon, 4 Mar 2019 23:26:14 +0000 (00:26 +0100)]
Added missing pointer star for Basic structure.
IrgendwerA8 [Mon, 4 Mar 2019 22:13:24 +0000 (23:13 +0100)]
Code review changes and build fix.
Greg King [Mon, 4 Mar 2019 15:19:27 +0000 (10:19 -0500)]
Refactorred a CBM screen-code macro, so that we can use it as an operand.
For example: lda #scrbyte 'B'
IrgendwerA8 [Sun, 3 Mar 2019 21:50:57 +0000 (22:50 +0100)]
Access Atari OS variables by structure.
IrgendwerA8 [Thu, 28 Feb 2019 16:30:34 +0000 (17:30 +0100)]
Minor math optimizations
Oliver Schmidt [Thu, 28 Feb 2019 07:35:35 +0000 (08:35 +0100)]
Merge pull request #849 from polluks/patch-4
Update cbm510.sgml
Stefan [Tue, 26 Feb 2019 17:38:05 +0000 (18:38 +0100)]
Update cbm510.sgml
There is just one CIA but it's not called "CIA1"...
Christian Groessler [Sat, 23 Feb 2019 00:14:54 +0000 (01:14 +0100)]
Merge remote-tracking branch 'dmsc/xex-c' into upstream-master
Daniel Serpell [Thu, 21 Feb 2019 21:55:08 +0000 (18:55 -0300)]
Change XEX configuration file names to better reflect original names.
Also, updates documentation with the new files.
Daniel Serpell [Mon, 18 Feb 2019 03:30:04 +0000 (00:30 -0300)]
Add sample linker configurations for Atari binary output in C.
Daniel Serpell [Mon, 18 Feb 2019 03:26:01 +0000 (00:26 -0300)]
Separate header and trailers of Atari system_check chunk.
This allows to omit the headers and trailers if needed.
Daniel Serpell [Mon, 18 Feb 2019 12:28:00 +0000 (09:28 -0300)]
Don't write INITAD if the memory area is empty.
Daniel Serpell [Mon, 18 Feb 2019 03:24:52 +0000 (00:24 -0300)]
Add support for INITAD to the Atari binary format.
Christian Groessler [Thu, 21 Feb 2019 12:45:51 +0000 (13:45 +0100)]
un-remove TABs in doc/using-make.sgml
Bill Kendrick [Sat, 16 Feb 2019 08:25:25 +0000 (00:25 -0800)]
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.
Christian Groessler [Tue, 12 Feb 2019 21:50:49 +0000 (22:50 +0100)]
remote TABs in doc/ and test/
Oliver Schmidt [Tue, 12 Feb 2019 16:51:24 +0000 (17:51 +0100)]
Merge pull request #834 from jedeoric/master
Update telestrat target doc, add tgi_clear support for telestrat target, stratsed & telemon 2.4 vars added
Oliver Schmidt [Tue, 12 Feb 2019 16:47:17 +0000 (17:47 +0100)]
Add translation from PETSCII to screen codes.
Stefan [Tue, 12 Feb 2019 10:27:12 +0000 (11:27 +0100)]
Fixed 65C02 timing again.
Oliver Schmidt [Thu, 7 Feb 2019 11:29:00 +0000 (12:29 +0100)]
Merge pull request #843 from polluks/patch-4
Fixed 65C02 timing.
Stefan [Thu, 7 Feb 2019 11:19:49 +0000 (12:19 +0100)]
Fixed 65C02 timing.
Christian Groessler [Tue, 5 Feb 2019 22:27:52 +0000 (23:27 +0100)]
remove TABs
jede [Mon, 4 Feb 2019 19:42:03 +0000 (20:42 +0100)]
Fix typo
Daniel Serpell [Sun, 2 Dec 2018 03:41:36 +0000 (00:41 -0300)]
Adds test code for the Atari (xex) linker file format.
Daniel Serpell [Sun, 2 Dec 2018 00:45:22 +0000 (21:45 -0300)]
Adds documentation and a sample config file for the ATARI format.
Daniel Serpell [Thu, 27 Sep 2018 03:06:52 +0000 (00:06 -0300)]
Rewrites ATARI EXE segment writing to optimally write segment sizes.
We now expand segments as needed to write a minimal set of headers.
Daniel Serpell [Wed, 26 Sep 2018 02:51:51 +0000 (23:51 -0300)]
Don't support overwrite segments.
This simplifies the memory area size calculations.
Daniel Serpell [Tue, 25 Sep 2018 23:21:49 +0000 (20:21 -0300)]
Only write full ATARI XEX header in the first chunk.
Daniel Serpell [Tue, 25 Sep 2018 23:21:35 +0000 (20:21 -0300)]
Remove unused function.
Daniel Serpell [Tue, 25 Sep 2018 02:58:06 +0000 (23:58 -0300)]
Add support for Atari XEX file format to LD65
Greg King [Wed, 30 Jan 2019 17:18:32 +0000 (12:18 -0500)]
Fixed a note in "ca65.sgml".
String escapes are converted to a target platform's encoding.
jede [Wed, 30 Jan 2019 12:28:50 +0000 (13:28 +0100)]
add more clearly what rom stratoric contains
Christian Groessler [Tue, 29 Jan 2019 21:00:55 +0000 (22:00 +0100)]
Use Timer2 for mouse polling.
This follows a suggestion by Sijmen Schouten in issue #818.
Platoterm64 now works with mouse at 1200 baud.
Bump MOUSE_API_VERSION in asminc/mouse-kernel.inc.
Fix typo in testcode/lib/mouse-test.c.
jede [Tue, 29 Jan 2019 19:46:16 +0000 (20:46 +0100)]
fix uppercase
jede [Sat, 26 Jan 2019 11:01:48 +0000 (12:01 +0100)]
fix comma in telestrat.sgml
jede [Sat, 26 Jan 2019 11:00:13 +0000 (12:00 +0100)]
fix doc/telestrat.sgml
jede [Sat, 26 Jan 2019 10:39:24 +0000 (11:39 +0100)]
fix uppercase command
jedeoric [Fri, 25 Jan 2019 09:15:21 +0000 (10:15 +0100)]
Merge branch 'master' into master
jede [Thu, 24 Jan 2019 22:07:49 +0000 (23:07 +0100)]
Telemon variables added
Piotr Fusik [Wed, 23 Jan 2019 18:02:26 +0000 (19:02 +0100)]
Comment the ATASCII to screen code conversion.
Piotr Fusik [Tue, 22 Jan 2019 23:05:31 +0000 (00:05 +0100)]
Optimize the conversions from Atari ASCII to screen codes.
Oliver Schmidt [Sun, 20 Jan 2019 20:58:06 +0000 (21:58 +0100)]
Merge pull request #829 from inexorabletash/string-escapes
ca65: Add string_escapes feature. Resolves #535
Bill Kendrick [Fri, 18 Jan 2019 07:53:53 +0000 (23:53 -0800)]
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.
Bill Kendrick [Fri, 18 Jan 2019 06:44:25 +0000 (22:44 -0800)]
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).
Bill Kendrick [Thu, 17 Jan 2019 08:23:04 +0000 (00:23 -0800)]
atari.h: Shadow registers for hardware registers
Bill Kendrick [Thu, 17 Jan 2019 07:29:41 +0000 (23:29 -0800)]
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.
Bill Kendrick [Tue, 15 Jan 2019 09:24:12 +0000 (01:24 -0800)]
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.
Bill Kendrick [Tue, 15 Jan 2019 04:47:05 +0000 (20:47 -0800)]
Adjustments per most feedback on cc65 PR 831
(I appreciate the feedback!)
Bill Kendrick [Mon, 14 Jan 2019 05:31:18 +0000 (21:31 -0800)]
Some PIA register #defines
Some register #defines for PIA.
(Some may be too Atari-centric -- I know PIA chip was used by PET &
perhaps other platforms supported by cc65. If so, perhaps we can
define them elsewhere. Not sure whether they'd be the same for 5200;
I admit I know zilch about that system except that it's _more or less_
an Atari 400)
Bill Kendrick [Mon, 14 Jan 2019 04:32:55 +0000 (20:32 -0800)]
POKEY: Add register #defines & internal kybd codes
Add #defines for certain registers' values.
Also add #defines for internal keyboard codes (unrelated to ATASCII;
e.g. [Q] = 47, [W] = 46, [Shift] adds 64, etc), as seen in KBCODE.
Bill Kendrick [Sun, 13 Jan 2019 09:59:41 +0000 (01:59 -0800)]
Note about hues varying depending on environment
There aren't really standard color names (e.g., Compute!'s Mapping the Atari and First Book of Atari Graphics have different names), and exact colors shown depend on the system & device, anyway. Added a note.
Bill Kendrick [Sun, 13 Jan 2019 09:58:10 +0000 (01:58 -0800)]
Tweaks to description of ANTIC chip in _antic.h
Tweak to comments at the top
Bill Kendrick [Sun, 13 Jan 2019 09:57:21 +0000 (01:57 -0800)]
Added #defines for GTIA register values
Bill Kendrick [Sun, 13 Jan 2019 08:31:31 +0000 (00:31 -0800)]
Add more register #defines to ANTIC header file
* DMACTL - playfield size, DMA access, PMG resolution
* CHACTL - inverted text, inverse effects
* NMIEN
Also, added #define equivalents for Display List mode line instructions
based on Atari 8-bit OS (aka Atari BASIC "GRAPHICS" command) values
(e.g., "DL_GRAPHICS0" == "DL_CHR40x8x1").
Added some more documentation in the comments.
Added macros with assembly language for the start/end of Display List
Interrupt (DLI) functions.
Greg King [Sat, 5 Jan 2019 19:57:12 +0000 (14:57 -0500)]
Changed most "backticks" (grave accents) into apostrophes.
Quotations that are embraced by tick marks now look better, in most fonts.
Joshua Bell [Sat, 5 Jan 2019 19:29:54 +0000 (11:29 -0800)]
ca65: Add string_escapes feature. Resolves #535
Greg King [Fri, 4 Jan 2019 08:35:49 +0000 (03:35 -0500)]
Added an error message, in case there's a typo in the definitions of long command-line options.
Greg King [Fri, 4 Jan 2019 07:29:17 +0000 (02:29 -0500)]
Fixed a duplicate-label test.
Don't call strcmp() if either argument is NULL.
Greg King [Thu, 3 Jan 2019 15:49:56 +0000 (10:49 -0500)]
Added, to Plus4 and GEOS linker configure files, the ability to set the start and end addresses of the program region.
Oliver Schmidt [Wed, 2 Jan 2019 20:17:55 +0000 (21:17 +0100)]
Merge pull request #828 from Marrin/marrin-docfix
Fixed documented return type.
Marrin [Wed, 2 Jan 2019 11:06:01 +0000 (12:06 +0100)]
Fixed documented return type.
Scott Hutter [Sun, 30 Dec 2018 17:48:16 +0000 (11:48 -0600)]
fix for err blank line removal
Scott Hutter [Sun, 30 Dec 2018 17:39:40 +0000 (11:39 -0600)]
Moved contents of SetNewMode doc
Scott Hutter [Sun, 30 Dec 2018 17:33:45 +0000 (11:33 -0600)]
removed fastcall from SetNewMode
Scott Hutter [Sun, 30 Dec 2018 11:30:46 +0000 (05:30 -0600)]
corrected text formatting
Scott Hutter [Sun, 30 Dec 2018 11:23:17 +0000 (05:23 -0600)]
moved to better folder location
Scott Hutter [Tue, 18 Dec 2018 22:16:22 +0000 (16:16 -0600)]
Issue 814
Scott Hutter [Tue, 18 Dec 2018 17:15:45 +0000 (11:15 -0600)]
SetNewMode() documentation = issue #814
Scott Hutter [Tue, 18 Dec 2018 17:09:06 +0000 (11:09 -0600)]
Added SetNewMode() to geoslib - #814
Paul Gardner-Stephen [Sat, 29 Dec 2018 11:49:51 +0000 (22:19 +1030)]
change reference to $0200FF to $0200xx
Paul Gardner-Stephen [Fri, 28 Dec 2018 13:38:54 +0000 (00:08 +1030)]
remove redundant line
Paul Gardner-Stephen [Fri, 28 Dec 2018 13:37:29 +0000 (00:07 +1030)]
use pre-existing ZP storage. Make 32-bit pointer value loading more self-evident
Paul Gardner-Stephen [Thu, 27 Dec 2018 00:20:25 +0000 (10:50 +1030)]
add support for detecting 45GS02
Marc Rintsch [Thu, 20 Dec 2018 12:07:25 +0000 (13:07 +0100)]
Added missing external declaration of c64_65816_emd.
jede [Mon, 10 Dec 2018 20:48:09 +0000 (21:48 +0100)]
Now tgi_clear() works
Oliver Schmidt [Mon, 3 Dec 2018 11:52:00 +0000 (12:52 +0100)]
Fixed typo.
Olli Savia [Mon, 26 Nov 2018 20:36:22 +0000 (22:36 +0200)]
Added SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:32:49 +0000 (22:32 +0200)]
Added SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:28:40 +0000 (22:28 +0200)]
Added SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:23:11 +0000 (22:23 +0200)]
Added SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:18:26 +0000 (22:18 +0200)]
Added SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:12:28 +0000 (22:12 +0200)]
Added SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:01:04 +0000 (22:01 +0200)]
Added SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 19:41:44 +0000 (21:41 +0200)]
Added SER_ prefix
Olli Savia [Mon, 26 Nov 2018 19:31:12 +0000 (21:31 +0200)]
Changed prefix SWL_ to SER_
Olli Savia [Sun, 25 Nov 2018 08:46:05 +0000 (10:46 +0200)]
Updated to use cbm_kernal.inc. Whitespace cleanups