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

3370 Commits

Author SHA1 Message Date
Karri Kaksonen
057fd866da Remove obsolete file and fix tabs 2022-07-21 03:20:45 +02:00
Karri Kaksonen
02fbcad697 Split files 2022-07-21 03:20:45 +02:00
Karri Kaksonen
f0e16514e0 Split files 2022-07-21 03:20:45 +02:00
Karri Kaksonen
e0c7880e34 Split files 2022-07-21 03:20:45 +02:00
Karri Kaksonen
6a6581815d Import conio automatically 2022-07-21 03:20:45 +02:00
Karri Kaksonen
0f404280a1 Change attributes on gotoxy 2022-07-21 03:20:45 +02:00
Karri Kaksonen
141b887d4d Change order of gotox gotoy for correct x after newline 2022-07-21 03:20:45 +02:00
Karri Kaksonen
770b22e14d Remove duplicate code 2022-07-21 03:20:45 +02:00
Karri Kaksonen
7e7f9ffa58 Add blinking cursor 2022-07-21 03:20:45 +02:00
Karri Kaksonen
ff8d2e84bf Fix screen index bug 2022-07-21 03:20:45 +02:00
Karri Kaksonen
1d7bcb9348 Cleanup 2022-07-21 03:20:45 +02:00
Karri Kaksonen
3ba6dd0a4a Use local multiply for cursorzone calculations 2022-07-21 03:20:45 +02:00
Karri Kaksonen
9d4f1a0415 Add local multiply routine 2022-07-21 03:20:45 +02:00
Karri Kaksonen
c6b9a012c8 Allocate own zp pointer for conio implementation 2022-07-21 03:20:45 +02:00
Karri Kaksonen
60fffb289a Allocate own zp pointer for conio implementation 2022-07-21 03:20:45 +02:00
Karri Kaksonen
0eaf3eef6d Align font to 256 bytes 2022-07-21 03:20:45 +02:00
Karri Kaksonen
0f250d06b9 Fix conflicts with some conio routines 2022-07-21 03:20:45 +02:00
Karri Kaksonen
b8dbe0254a Add cputc method 2022-07-21 03:20:45 +02:00
Karri Kaksonen
1a2207ffc9 Add setcursor method 2022-07-21 03:20:45 +02:00
Karri Kaksonen
ebd2e5085a Remove export 2022-07-21 03:20:45 +02:00
Karri Kaksonen
7f1e69f5e0 Add cursor processing 2022-07-21 03:20:45 +02:00
Karri Kaksonen
f576764214 Remove cursor from conio init 2022-07-21 03:20:45 +02:00
Karri Kaksonen
8b06ff18c0 Don't set cursor in clrscr 2022-07-21 03:20:45 +02:00
Karri Kaksonen
fce4bc0c58 Change order to make decoding easier 2022-07-21 03:20:45 +02:00
Karri Kaksonen
9775a71433 Use question mark instead of exclamation mark 2022-07-21 03:20:45 +02:00
Karri Kaksonen
8f86d5533b Remove clrscr from init 2022-07-21 03:20:45 +02:00
Karri Kaksonen
7fc69a34ac Change blue to white 2022-07-21 03:20:45 +02:00
Karri Kaksonen
ce313922d1 Change blue to white 2022-07-21 03:20:45 +02:00
Karri Kaksonen
646997ed43 Add the build tools for the font 2022-07-21 03:20:45 +02:00
Karri Kaksonen
f5c24be572 Fix cursor character 2022-07-21 03:20:45 +02:00
Karri Kaksonen
ff0ddcb52b Add the font160.png 2022-07-21 03:20:45 +02:00
Karri Kaksonen
e4c1bf15da Add basic conio buffer 2022-07-21 03:20:45 +02:00
mrdudz
c6f23eefc8 remove dangling spaces 2022-07-21 03:20:44 +02:00
mrdudz
2cc46e11d3 add comment explaining what the empty file is about 2022-07-21 03:20:44 +02:00
mrdudz
be22b8ad4d add missing newline to a bunch of files 2022-07-21 03:20:44 +02:00
mrdudz
cbbdd3d9cf remove a bunch of TABs 2022-07-21 03:20:44 +02:00
Karri Kaksonen
f92e1f2e3c Change polarity for 2600 buttons 2022-07-21 03:20:44 +02:00
Karri Kaksonen
851c65344c Add comments 2022-07-21 03:20:44 +02:00
Karri Kaksonen
3ceae59857 Add stdjoy driver 2022-07-21 03:20:44 +02:00
Karri Kaksonen
cdf83d2a26 Fixed logic flaw 2022-07-21 03:20:44 +02:00
Karri Kaksonen
14956f3b15 Add atari7800-stdjoy 2022-07-21 03:20:44 +02:00
Fabrizio Caruso
1effa5944b Optimize delete cycles 2022-07-21 03:20:44 +02:00
Fabrizio Caruso
3050e3afcd Use lsr 2022-07-21 03:20:44 +02:00
Fabrizio Caruso
fc6548db5c Fix color 1 and 2 (grey/green levels) 2022-07-21 03:20:44 +02:00
Fabrizio Caruso
82cfbb5fa8 Fix Gamate CONIO: non-solid characters bug 2022-07-21 03:20:44 +02:00
Karri Kaksonen
6f11c4ffad Export paldetected 2022-07-21 03:20:44 +02:00
Karri Kaksonen
ef13a470e8 Use proper mnemonics 2022-07-21 03:20:44 +02:00
Karri Kaksonen
fd305c1e31 Separate machine detection from crt0 and put it in get_tv 2022-07-21 03:20:44 +02:00
Karri Kaksonen
cf8c7ee28d Split clock file to components 2022-07-21 03:20:44 +02:00
Karri Kaksonen
218c98d4d5 Add get_tv.s 2022-07-21 03:20:44 +02:00
Karri Kaksonen
7c12916718 Add irq handling, PAL/NTSC detection and clock() 2022-07-21 03:20:44 +02:00
Karri Kaksonen
76fae9da82 Add irq handling, PAL/NTSC detection and clock() 2022-07-21 03:20:44 +02:00
Karri Kaksonen
d099df0533 Clear hw palette and set AUDIN low at startup 2022-07-21 03:20:44 +02:00
Karri Kaksonen
f7c59ee1ec Add CARTSIZE to cfg file for configuring the a78 header. Add descriptions of usage. 2022-07-21 03:20:44 +02:00
Karri Kaksonen
d586c83dae Add exehdr 2022-07-21 03:20:44 +02:00
Karri Kaksonen
dc75972e9e Add exehdr 2022-07-21 03:20:44 +02:00
Karri Kaksonen
3792347d5d Add crt0.s and ctype.s 2022-07-21 03:20:44 +02:00
Karri Kaksonen
e653204ffe Add target atari7800 2022-07-21 03:20:44 +02:00
Karri Kaksonen
4f9b30d50d Fix black index in tgi_colors.s 2022-07-21 03:20:44 +02:00
Karri Kaksonen
b252059369 Mark index 0 as TRANSPARENT. Let palette start from index 1 2022-07-21 03:20:40 +02:00
Jeff Tranter
ba13ba32a1 Fix some commonly made spelling errors in comments. 2022-07-21 03:18:13 +02:00
Greg King
8bf9766e9e Added to the telestrat library the name of the standard dynamic TGI driver. 2022-07-21 03:13:10 +02:00
polluks
ad95ba7854 Added tail call optimization 2022-07-21 03:13:10 +02:00
Greg King
103d3ccfcd Fixed the cart directory build code to handle even simple programs.
Carts can be built containing programs that don't link some segments.
2022-07-21 03:13:10 +02:00
polluks
33bb1a22ff Removed the colour purple
This commit may break compatibility.
2022-07-21 03:13:10 +02:00
polluks
d6349e0f92 Save a few bytes 2022-07-21 03:13:10 +02:00
polluks
5f151b1316 Revert commits 2022-07-21 03:13:10 +02:00
Sven Michael Klose
3ee9b35080 Fix strnlen(). 2022-07-21 03:13:09 +02:00
Sven Michael Klose
88fdaeb490 Add standard C library function strnlen(). 2022-07-21 03:13:09 +02:00
Greg King
baa582ac0b Made cbm_open() be more efficient.
The fastcall argument doesn't need to be put on a stack.  SETNAM can be called before SETLFS.
2022-07-21 03:13:09 +02:00
Greg King
e1ef1325ec Put the alignment decrement code back into posix_memalign().
Without that code, the function returns a very broken pointer.
2022-07-21 03:13:09 +02:00
Oliver Schmidt
152241f26c Don't rely on (actually changed) unspecified compiler behavior. 2022-07-21 03:13:09 +02:00
polluks
687c8052ae Save a few bytes 2022-07-21 03:13:09 +02:00
mrdudz
16bf472e66 reserve enough space for the longest string we can expect 2022-07-13 23:10:19 +02:00
Stephan Mühlstrasser
44257b9b4a Fix switched meaning of '\n' and '\r'
When conio was implemented for the osic1p target, the cbm
target was used as a blueprint. But it was overlooked that the
cbm target encodes CR as 0x0A and LF as 0x0D, while the
osic1p target uses the ASCII encoding of CR and LF. Therefore
conio output of '\n' moved the active position to the start of the
line and '\r' moved the active position to the next line.

This change implements the correct semantics of '\n' and '\r'
in conio for the osic1p target.

Fixes #1747.
2022-05-18 18:57:52 +02:00
Bob Andrews
e0cc3650e4
Merge branch 'master' into missing-purple 2022-05-17 15:34:51 +02:00
mrdudz
91199c57e8 remove +x flag 2022-05-17 15:28:51 +02:00
Bob Andrews
4da7e1553f
Merge pull request #1676 from polluks2/patch-1
smarter manufacturer
2022-05-10 01:32:10 +02:00
mrdudz
d0ac06c9b0 must include stdarg.h to use varargs 2022-05-08 19:29:57 +02:00
Bob Andrews
9beedbafdd
Merge pull request #1735 from rofl0r/empty_prefix
build: allow empty prefix - should this break on Amiga or other non POSIX systems, please speak up
2022-05-06 13:04:00 +02:00
jede
47743d5fcf fix space 2022-05-05 22:50:37 +02:00
jede
348ea815b0 fix mkdir 2022-05-05 22:43:06 +02:00
Bob Andrews
b8f7167dcd
Merge pull request #1729 from jedeoric/fix_fd_cleaning_telestrat
[Telestrat] missing fd_management and cleaning
2022-05-04 02:34:58 +02:00
Greg King
a5e69e7ea6 Upgraded the cx16 library to the Commander X16 Kernal ROM's prerelease 39. 2022-04-29 16:56:54 -04:00
rofl0r
8669710c0f build: allow empty prefix
there was some concern that this will break windows' way of doing
file lookups relatively from the binary, rather than via hardcoded
locations, but so far each occurence adding e.g. "CA65_INC" to
the pathsearch is already shielded with an #ifndef _WIN32.

addressing #1726
2022-04-27 16:19:06 +00:00
Bob Andrews
01f151c3ab
Merge pull request #1734 from jedeoric/fix_kbhit
[Telestrat] Kbhit fix
2022-04-26 16:33:18 +02:00
jede
4bfd57153f fix bss 2022-04-26 14:14:27 +02:00
jede
4474ed2668 fix space 2022-04-26 11:10:07 +02:00
jede
1281032f33 FIX space 2022-04-26 10:23:38 +02:00
jede
e9597e8721 cgetc export data now 2022-04-26 00:40:16 +02:00
jede
8f40243315 fix spaces 2022-04-24 15:15:10 +02:00
jede
c48df98145 missing fd_management and cleaning 2022-04-24 00:39:04 +02:00
Karri Kaksonen
f4260ed7bc Speed up the cursor a bit 2022-04-22 06:51:35 +03:00
Karri Kaksonen
c6decc7bb8 Move cursor IRQ processing to when the screen is being drawn 2022-04-21 21:54:33 +03:00
Karri Kaksonen
fc244f6b95 Too much time in irq fix 2022-04-19 21:31:16 +03:00
Karri Kaksonen
26787ba380 Fix race condition 2022-04-19 20:01:47 +03:00
Karri Kaksonen
f44af28a31 Merge branch 'atari7800conio' of github.com:karrika/cc65 into atari7800conio 2022-04-19 10:34:21 +03:00
Karri Kaksonen
eed8cec726 Add documentation 2022-04-19 10:33:58 +03:00
Karri Kaksonen
890a181ae5 Add color setup 2022-04-19 10:32:22 +03:00
Karri Kaksonen
6a9eeeb5b0 Rename font 2022-04-19 10:31:51 +03:00