]>
git.sur5r.net Git - cc65/log
Greg King [Sun, 24 May 2015 12:32:15 +0000 (08:32 -0400)]
Made cc65 properly test variadic-function pointer assignments.
Improved some error messages.
Greg King [Tue, 12 May 2015 08:15:00 +0000 (04:15 -0400)]
Made cc65 catch an assignment of a function pointer to a pointer with a different calling convention.
Greg King [Wed, 22 Apr 2015 14:05:07 +0000 (10:05 -0400)]
Changed the compiler test-suite to work with the fastcall-default version of cc65.
Greg King [Wed, 22 Apr 2015 13:59:23 +0000 (09:59 -0400)]
Added a command-line option to compile a program, with __cdecl__ as the default calling convention.
Greg King [Thu, 19 Mar 2015 10:27:25 +0000 (06:27 -0400)]
Reverted one of the changes in how function prototypes look, in cc65's assembly output.
Greg King [Sat, 14 Mar 2015 20:50:08 +0000 (16:50 -0400)]
Fixed a typo.
Greg King [Fri, 13 Mar 2015 16:18:43 +0000 (12:18 -0400)]
Catch fastcall pointers to variadic functions.
Greg King [Fri, 13 Mar 2015 11:35:47 +0000 (07:35 -0400)]
Made _afailed() and uncompress() be fastcall functions.
Greg King [Fri, 13 Mar 2015 09:46:40 +0000 (05:46 -0400)]
Made cbm_load() be a fastcall function.
Greg King [Fri, 13 Mar 2015 09:40:55 +0000 (05:40 -0400)]
Changed the documentation to reflect the new fastcall/cdecl reality.
Greg King [Tue, 10 Mar 2015 09:53:52 +0000 (05:53 -0400)]
Made __fastcall__ be the default calling convention for non-variadic functions.
Greg King [Mon, 9 Mar 2015 22:53:45 +0000 (18:53 -0400)]
Completed the cc65 code that recognizes __CDECL__ as a calling convention qualifier.
Oliver Schmidt [Mon, 9 Mar 2015 14:35:26 +0000 (15:35 +0100)]
Merge pull request #150 from greg-king5/osi-boot
A second OSI C1P program file format.
Greg King [Mon, 9 Mar 2015 10:17:28 +0000 (06:17 -0400)]
Changed a comment in the osic1p configure files.
Greg King [Sun, 8 Mar 2015 14:43:03 +0000 (10:43 -0400)]
Mentioned in the documentation how we can make the new format be the default.
Greg King [Sun, 8 Mar 2015 14:06:00 +0000 (10:06 -0400)]
Described how to change the boot loader's actions.
Greg King [Sat, 7 Mar 2015 21:37:58 +0000 (16:37 -0500)]
Added a second OSI C1P program file format.
Unlike the first format, the new format is already loadable; it doesn't need to be converted.
Oliver Schmidt [Thu, 5 Mar 2015 19:29:45 +0000 (20:29 +0100)]
Merge pull request #149 from greg-king5/osi-font
osic1p character translations
Greg King [Thu, 5 Mar 2015 17:44:08 +0000 (12:44 -0500)]
Added a font translation table because Ohio Scientific machines have three misplaced characters.
Oliver Schmidt [Mon, 2 Mar 2015 12:02:17 +0000 (13:02 +0100)]
Merge pull request #148 from smuehlst/c1p
kbhit() implementation, fixed C data stack pointer initialization
Stephan Mühlstrasser [Sun, 1 Mar 2015 19:53:57 +0000 (20:53 +0100)]
Replaced magic numbers with symbolic constants.
Stephan Mühlstrasser [Sat, 28 Feb 2015 19:29:08 +0000 (20:29 +0100)]
Optimization by replacing absolute with relative jump.
Oliver Schmidt [Sat, 28 Feb 2015 12:41:56 +0000 (13:41 +0100)]
Merge pull request #147 from greg-king5/basic-stub
Atmos introduction update
Greg King [Sat, 28 Feb 2015 05:17:07 +0000 (00:17 -0500)]
Updated the introduction to the Atmos target because I changed how its programs are started.
Stephan Mühlstrasser [Wed, 25 Feb 2015 22:50:02 +0000 (23:50 +0100)]
Temporarily undo the 25 line change.
This is not yet consistent with the first visible character on
the screen.
Stephan Mühlstrasser [Wed, 25 Feb 2015 22:48:57 +0000 (23:48 +0100)]
Fix wrong expression for top of C stack.
Thanks to Greg King for this fix.
Stephan Mühlstrasser [Mon, 23 Feb 2015 22:07:00 +0000 (23:07 +0100)]
Match screen dimensions as in BASIC.
Experiments show that under BASIC by default
25 rows by 24 columns are used. 24 columns is
also the width that is fully displayed on a real
C1P on the monitor. conio now matches that now.
Stephan Mühlstrasser [Mon, 23 Feb 2015 19:28:05 +0000 (20:28 +0100)]
kbhit implemented, note about limitation removed.
Stephan Mühlstrasser [Mon, 23 Feb 2015 19:13:55 +0000 (20:13 +0100)]
Merge branch 'c1p_scrsize' into c1p
Stephan Mühlstrasser [Mon, 23 Feb 2015 18:17:54 +0000 (19:17 +0100)]
Merge branch 'c1p_kbhit' into c1p_scrsize
Stephan Mühlstrasser [Mon, 23 Feb 2015 18:17:27 +0000 (19:17 +0100)]
Loading A once before the loop is sufficient.
Stephan Mühlstrasser [Mon, 23 Feb 2015 18:08:33 +0000 (19:08 +0100)]
Merge branch 'c1p_kbhit' into c1p_scrsize
Stephan Mühlstrasser [Mon, 23 Feb 2015 18:06:22 +0000 (19:06 +0100)]
Clear bottom line when scrolling.
Fix provided by Jeff Tranter.
Stephan Mühlstrasser [Sun, 22 Feb 2015 18:56:01 +0000 (19:56 +0100)]
Merge branch 'c1p_scrsize' into c1p
Stephan Mühlstrasser [Sun, 22 Feb 2015 18:55:19 +0000 (19:55 +0100)]
Consistent naming for screen dimension constants.
Stephan Mühlstrasser [Sun, 22 Feb 2015 15:27:13 +0000 (16:27 +0100)]
Define the screen dimension defines in a more meaningful way.
Stephan Mühlstrasser [Sun, 22 Feb 2015 10:45:02 +0000 (11:45 +0100)]
Merge branch 'c1p_kbhit' into c1p
Stephan Mühlstrasser [Sat, 21 Feb 2015 21:52:01 +0000 (22:52 +0100)]
Mask control keys from first keyboard scan row.
Stephan Mühlstrasser [Sat, 21 Feb 2015 20:30:56 +0000 (21:30 +0100)]
Merge branch 'c1p_charconsts' into c1p
Stephan Mühlstrasser [Sat, 21 Feb 2015 19:53:16 +0000 (20:53 +0100)]
Use character constants where appropriate.
Stephan Mühlstrasser [Sat, 21 Feb 2015 19:24:58 +0000 (20:24 +0100)]
Implemented a one-character buffer for kbhit() and cgetc().
If kbhit() detects that a key is pressed, it fetches and
buffers the character. If cgetc() detects a buffered character,
this one is returned instead of fetching one with the PROM
routine.
Stephan Mühlstrasser [Thu, 19 Feb 2015 21:19:21 +0000 (22:19 +0100)]
kbhit() function and scrolling.
Patch provided by Jeff Tranter.
Oliver Schmidt [Wed, 18 Feb 2015 19:17:03 +0000 (20:17 +0100)]
Merge pull request #146 from smuehlst/c1p
Add target "osic1p" for Ohio Scientific Challenger 1P
Stephan Mühlstrasser [Wed, 18 Feb 2015 17:38:42 +0000 (18:38 +0100)]
Incorporated another round of feedback for pull request.
Adjusted comment formatting in several assembler files.
Removed dummy kbhit() function, as it's better to get a linker
error than an implementation that does the wrong thing.
Oliver Schmidt [Mon, 16 Feb 2015 14:43:08 +0000 (15:43 +0100)]
Moved interrupt enabling to the interrupt constructor.
Stephan Mühlstrasser [Fri, 13 Feb 2015 18:53:02 +0000 (19:53 +0100)]
Fix high byte of return value, optimized.
Stephan Mühlstrasser [Thu, 12 Feb 2015 21:54:21 +0000 (22:54 +0100)]
Add dummy kbhit(), remove redundant documentation for cgetc().
Stephan Mühlstrasser [Thu, 12 Feb 2015 21:12:51 +0000 (22:12 +0100)]
Include "extzp.inc" instead of using direct imports of symbols.
Stephan Mühlstrasser [Thu, 12 Feb 2015 20:44:00 +0000 (21:44 +0100)]
Don't use .byte in BSS segments, as value is lost anyway.
Stephan Mühlstrasser [Thu, 12 Feb 2015 20:29:19 +0000 (21:29 +0100)]
Replace zeropage variable with standard tmp variable.
Stephan Mühlstrasser [Thu, 12 Feb 2015 20:12:24 +0000 (21:12 +0100)]
Remove unneeded commented code.
Stephan Mühlstrasser [Thu, 12 Feb 2015 19:54:47 +0000 (20:54 +0100)]
Use constants for screen width and height.
Stephan Mühlstrasser [Wed, 11 Feb 2015 18:18:24 +0000 (19:18 +0100)]
Incorporated feedback for initial pull request.
Stephan Mühlstrasser [Wed, 11 Feb 2015 18:14:13 +0000 (19:14 +0100)]
Added Challenger 1P to list of supported machines.
Stephan Mühlstrasser [Sun, 8 Feb 2015 16:35:40 +0000 (17:35 +0100)]
Fix formatting, replace tabs with spaces.
Stephan Mühlstrasser [Sun, 8 Feb 2015 16:21:23 +0000 (17:21 +0100)]
Remove tabs, fixed accidental insertion of stdio.h.
Stephan Mühlstrasser [Sun, 8 Feb 2015 16:12:54 +0000 (17:12 +0100)]
Add missing newline
Stephan Mühlstrasser [Sun, 8 Feb 2015 14:58:42 +0000 (15:58 +0100)]
Merge branch 'master' of https://github.com/cc65/cc65 into c1p
Stephan Mühlstrasser [Sun, 8 Feb 2015 14:46:33 +0000 (15:46 +0100)]
Minor corrections.
Stephan Mühlstrasser [Sun, 8 Feb 2015 14:06:55 +0000 (15:06 +0100)]
Completing OSI documentation.
Stephan Mühlstrasser [Sat, 7 Feb 2015 00:19:03 +0000 (01:19 +0100)]
Fixed URL for SRecord.
Stephan Mühlstrasser [Fri, 6 Feb 2015 23:20:38 +0000 (00:20 +0100)]
Minor corrections to documentation.
Stephan Mühlstrasser [Fri, 6 Feb 2015 21:53:36 +0000 (22:53 +0100)]
Start documentation for Ohio Scientific targets.
Stephan Mühlstrasser [Thu, 5 Feb 2015 22:21:59 +0000 (23:21 +0100)]
Jump to boot prompt after main program exits.
Stephan Mühlstrasser [Thu, 5 Feb 2015 22:01:19 +0000 (23:01 +0100)]
Video RAM mapping table was off by two bytes.
Fix contributed by Jeff Tranter.
Stephan Mühlstrasser [Tue, 3 Feb 2015 21:56:04 +0000 (22:56 +0100)]
Remove tab character.
Stephan Mühlstrasser [Tue, 3 Feb 2015 21:42:35 +0000 (22:42 +0100)]
Rename c1p target to osic1p
Stephan Mühlstrasser [Sat, 31 Jan 2015 21:45:18 +0000 (22:45 +0100)]
Configuration file for assembler-only build.
Oliver Schmidt [Tue, 20 Jan 2015 20:00:44 +0000 (21:00 +0100)]
Fixed file name of Windows binary snapshot.
Although we're using Mingw-w64 to build the Windows binaries
they are in fact 32-bit binaries - which is just fine. However
the file name should reflect that.
Oliver Schmidt [Mon, 12 Jan 2015 21:11:29 +0000 (22:11 +0100)]
Merge pull request #145 from wlabelle/huc6280-sbc-fix
Move SBC to correct location in 6280 instruction table
Wayne LaBelle [Sun, 11 Jan 2015 21:10:34 +0000 (16:10 -0500)]
Move SBC to correct location in 6280 instruction table
Stephan Mühlstrasser [Sun, 11 Jan 2015 17:22:36 +0000 (18:22 +0100)]
Minor cleanup of unnecessary newlines.
Oliver Schmidt [Sat, 10 Jan 2015 22:46:43 +0000 (23:46 +0100)]
Merge pull request #143 from greg-king5/basic-stub
Support Atmos command line
Greg King [Sat, 10 Jan 2015 03:19:35 +0000 (22:19 -0500)]
Added more info to a comment.
Greg King [Fri, 9 Jan 2015 18:55:16 +0000 (13:55 -0500)]
Mentioned, in the Atmos document, the extra byte at the end of program binaries.
Greg King [Thu, 8 Jan 2015 22:07:28 +0000 (17:07 -0500)]
Added comments that say why the ZPSAVE1 and ZPSAVE2 segments must be together.
Greg King [Thu, 8 Jan 2015 08:51:20 +0000 (03:51 -0500)]
Fixed a bug that had padded Atmos binaries with 25 bytes too many.
Greg King [Wed, 7 Jan 2015 15:51:48 +0000 (10:51 -0500)]
Added a comment.
Stephan Mühlstrasser [Mon, 5 Jan 2015 20:28:39 +0000 (21:28 +0100)]
Adapted to cc65 assembler coding conventions
Assembler statements are written in lowercase.
Stephan Mühlstrasser [Mon, 5 Jan 2015 19:55:45 +0000 (20:55 +0100)]
Removed c1p65 object file converter.
Now using srec_cat from the srecord package.
Stephan Mühlstrasser [Mon, 5 Jan 2015 19:37:23 +0000 (20:37 +0100)]
Set default RAM size to 32 kB.
8 kB RAM are very small for "interesting" programs
compiled with cc65. Therefore set the default
RAM size to 32 kB.
Stephan Mühlstrasser [Fri, 2 Jan 2015 19:28:36 +0000 (20:28 +0100)]
Restructured according to coding conventions.
Oliver Schmidt [Sat, 20 Dec 2014 16:31:33 +0000 (17:31 +0100)]
Merge pull request #144 from greg-king5/regression-makes
Regression-tests makefiles
Greg King [Thu, 18 Dec 2014 19:30:35 +0000 (14:30 -0500)]
Made sure that parallel-building the regression-tests doesn't start a test before all of the directories are clean.
Greg King [Thu, 18 Dec 2014 19:15:24 +0000 (14:15 -0500)]
Shortenned the code that creates the TESTS make variable.
And, fixed the variable-substitution that creates the CC65 optimization option.
Greg King [Wed, 17 Dec 2014 22:44:39 +0000 (17:44 -0500)]
Use simply-defined make variables.
Greg King [Wed, 17 Dec 2014 22:35:18 +0000 (17:35 -0500)]
All regression-tests subdirectories are cleaned before the first test starts, so that 'make continue' won't see debris when it moves to the next directory.
Greg King [Wed, 17 Dec 2014 21:30:09 +0000 (16:30 -0500)]
Create the makefile variable REFS in the same way that TESTS is made.
Greg King [Wed, 17 Dec 2014 20:59:29 +0000 (15:59 -0500)]
Made the makefiles' clean target remove the object files from the source directory.
Greg King [Wed, 17 Dec 2014 16:57:45 +0000 (11:57 -0500)]
Added make code to build the optimized versions.
Greg King [Sat, 13 Dec 2014 14:52:39 +0000 (09:52 -0500)]
Used an easier-to-remember way of creating a program that uses graphics RAM for other purposes.
Greg King [Wed, 3 Dec 2014 17:02:48 +0000 (12:02 -0500)]
Made some descriptions less ambiguous.
Oliver Schmidt [Wed, 3 Dec 2014 13:07:12 +0000 (14:07 +0100)]
Merge pull request #142 from greg-king5/disassemble-segment
da65's segments feature
Stephan Mühlstrasser [Tue, 2 Dec 2014 19:42:54 +0000 (20:42 +0100)]
Merge branch 'master' of https://github.com/cc65/cc65 into c1p
Stephan Mühlstrasser [Tue, 2 Dec 2014 17:20:54 +0000 (18:20 +0100)]
Removed unused constants
They were left-overs from early attempts to implement character output.
Stephan Mühlstrasser [Sun, 30 Nov 2014 20:05:36 +0000 (21:05 +0100)]
Dummy implementation for osmapperrno
Copied from atmos implementation
Stephan Mühlstrasser [Sun, 30 Nov 2014 15:01:43 +0000 (16:01 +0100)]
Added scrsize() function.
Stephan Mühlstrasser [Sun, 30 Nov 2014 15:00:55 +0000 (16:00 +0100)]
Undo accidental rename of wrong scrsize.s file.
Stephan Mühlstrasser [Sun, 30 Nov 2014 14:58:59 +0000 (15:58 +0100)]
Added scrsize() function.
Stephan Mühlstrasser [Sun, 30 Nov 2014 13:25:16 +0000 (14:25 +0100)]
Added cclear() and cclearxy() implementations.