1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 15:05:14 +00:00
Commit Graph

3371 Commits

Author SHA1 Message Date
mrdudz
bbe46bb883 move float libss into libsrc/float, move tests into the correct dirs for the testbench, move includes to toplevel include dir 2022-11-09 02:45:07 +01:00
Oliver Schmidt
5493c9e7c2
Don't empty the Receive Data Register on filling the Transmit Data Register
The Receive Data Register and the Transmit Data Register share share a single address. Accessing that address with STA abs,X in order to fill the Transmit Data Register causes a 6502 false read which causes the Receive Data Register to be emptied.

The simplest way to work around that issue - which I chose here - is to move the base address for all ACIA accesses from page $C0 to page $BF. However, that adds an additional cycle to all read accesses. An alternative approach would be to only modify the single line `sta ACIA_DATA,x`.
2022-09-08 17:11:30 +02:00
polluks2
446a785f95
Don't hide errors in error handling
You don't want the low byte, see grep _ERR_ libsrc/tgi/*
2022-09-02 11:55:54 +02:00
Bob Andrews
623f047397
Merge pull request #1509 from mrdudz/rremd
C64 Retro Replay EMD driver
2022-08-11 01:11:16 +02:00
ZeroByteOrg
582e43931d import RDTIM symbol instead of hard-wiring it here 2022-08-08 15:21:30 -05:00
ZeroByteOrg
9b3b652fa5 Switched to using tmp1 instead of self-mod to store the jiffies value 2022-08-08 15:17:28 -05:00
ZeroByteOrg
78870219a4 CX16 waitvsync uses Kernal API to retreive jiffies 2022-08-05 17:44:18 -05:00
polluks2
7a93d3c707
Shorter isascii 2022-08-04 00:25:04 +02:00
Bob Andrews
6239fbe18c
Revert "rename '_poserror' to '__poserror'" 2022-07-24 18:14:21 +02:00
Bob Andrews
c642c07ea0
Merge pull request #1808 from acqn/LibFix
[Lib] Removed an extra colon from libsrc/dbg/dbg.c
2022-07-24 17:59:57 +02:00
acqn
8485d59aa6 Removed an extra colon from libsrc/dbg/dbg/c. 2022-07-24 20:58:10 +08:00
mrdudz
8e19d84cb4 detect number of RAM pages 2022-07-24 02:47:02 +02:00
Christian Groessler
758d9466c0 rename '_poserror' to '__poserror'
The old name could be non-conforming to the C standard. The new name
is definitely in the "implementation name space".

See issue #1796.
2022-07-24 00:33:56 +02:00
mrdudz
3cb3d5dad3 cleanup 2022-07-21 03:45:40 +02:00
mrdudz
86091ac6bf some cleanup 2022-07-21 03:43:54 +02:00
mrdudz
a55807f682 cleanup 2022-07-21 03:30:47 +02:00
mrdudz
f614f3b9e2 reserve enough space for the longest string we can expect 2022-07-21 03:24:17 +02:00
Stephan Mühlstrasser
8ec1f76b9c 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-07-21 03:22:52 +02:00
mrdudz
8e787c0c0a remove +x flag 2022-07-21 03:22:52 +02:00
polluks2
133d703964 smarter manufacturer
some kind of promotion
2022-07-21 03:22:52 +02:00
mrdudz
db2dfc9226 must include stdarg.h to use varargs 2022-07-21 03:22:52 +02:00
rofl0r
6eeaf7485c 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-07-21 03:22:52 +02:00
jede
e9bf0dd64f fix space 2022-07-21 03:22:52 +02:00
jede
16d896b73f fix mkdir 2022-07-21 03:22:52 +02:00
jede
e1fbb8465b fix spaces 2022-07-21 03:22:52 +02:00
jede
244da9c911 missing fd_management and cleaning 2022-07-21 03:22:52 +02:00
Greg King
55ea831e2d Upgraded the cx16 library to the Commander X16 Kernal ROM's prerelease 39. 2022-07-21 03:22:52 +02:00
jede
84e2fee9a4 fix bss 2022-07-21 03:20:45 +02:00
jede
164acad6cb fix space 2022-07-21 03:20:45 +02:00
jede
ebcf6ec52d FIX space 2022-07-21 03:20:45 +02:00
jede
c38504b06d cgetc export data now 2022-07-21 03:20:45 +02:00
Karri Kaksonen
3922cccafb Speed up the cursor a bit 2022-07-21 03:20:45 +02:00
Karri Kaksonen
249a04dbde Move cursor IRQ processing to when the screen is being drawn 2022-07-21 03:20:45 +02:00
Karri Kaksonen
7684918112 Too much time in irq fix 2022-07-21 03:20:45 +02:00
Karri Kaksonen
4ee3e59f19 Fix race condition 2022-07-21 03:20:45 +02:00
Bob Andrews
7f9909ef81 use jmp instead of jsr/rts 2022-07-21 03:20:45 +02:00
Karri Kaksonen
d8b8368e4e Add documentation 2022-07-21 03:20:45 +02:00
Karri Kaksonen
9ad2eea146 Add color setup 2022-07-21 03:20:45 +02:00
Karri Kaksonen
29b9a9f615 Rename font 2022-07-21 03:20:45 +02:00
Karri Kaksonen
5d0f064edc Not sharing umula0 and fix cursor bug 2022-07-21 03:20:45 +02:00
Karri Kaksonen
627ec17b14 Fix typo 2022-07-21 03:20:45 +02:00
Karri Kaksonen
4f195d46f9 Use consisten line lenght values 2022-07-21 03:20:45 +02:00
Karri Kaksonen
3954e9bccb Fix wrong screen in 2022-07-21 03:20:45 +02:00
Karri Kaksonen
9fab67761f Fix tabs 2022-07-21 03:20:45 +02:00
Karri Kaksonen
2e51b2b17c Fix tabs 2022-07-21 03:20:45 +02:00
Karri Kaksonen
f2f358262e Add mono conio files 2022-07-21 03:20:45 +02:00
Karri Kaksonen
b8c450cb46 Add mono conio files 2022-07-21 03:20:45 +02:00
Karri Kaksonen
bb20af1695 Add info 2022-07-21 03:20:45 +02:00
Karri Kaksonen
2db4592029 Add info 2022-07-21 03:20:45 +02:00
Karri Kaksonen
190911e26f Add x=0 to textcolor 2022-07-21 03:20:45 +02:00