Bob Andrews
a372ead4de
Merge pull request #2334 from carlo-bramini/fix-sim65-1
...
[SIM65] Support undocumented opcodes for 6502
2024-03-10 00:37:18 +01:00
Alex Thissen
acff429eb8
Added redeye check for SER_HS_SW handshake
2024-02-11 15:33:22 +00:00
Alex Thissen
788ae82d30
Fixes to serial driver implementation
2024-02-10 23:19:02 +00:00
Carlo Bramini
b04d79b1da
[SIM65] Support undocumented opcodes for 6502
...
This PR is mostly a complete rewrite of the emulator for 6502/65c02 opcodes.
It provides an easier to maintain implementation of the instructions, by using few macros rather than having hand-written code for each function.
All undocumented, previously missing opcodes for 6502 are also implemented.
The patch also includes a detailed documentation of those opcodes, for reference to developers.
This PR should fix one of the milestones listed here for the next version of CC65:
https://github.com/cc65/wiki/wiki/Before-the-next-release
2024-02-08 12:13:17 +01:00
jedeoric
bcea5dfa8f
fix comment telestrat
2024-01-05 00:46:15 +01:00
jedeoric
726b70a534
add XMAINARGS and XGETARGV for Telestrat
2024-01-05 00:45:03 +01:00
Colin Leroy-Mira
75461e1319
Apple2: implement stat(2) and statvfs(3)
2024-01-01 19:12:51 +01:00
Alex Thissen
66e354961c
Missed some tabs
2023-12-29 22:48:36 +01:00
Alex Thissen
061d907a11
Fixed tabs instead of spaces
2023-12-29 22:46:15 +01:00
Alex Thissen
e5f9def572
Added SPRCTL0 and SPRCTL1 bit definitions for ca65
2023-12-29 22:37:18 +01:00
rumbledethumps
564c85235f
style update and add rp6502 doc
2023-11-17 11:08:51 -08:00
rumbledethumps
b17c4d3434
add rp6502 target
2023-11-16 18:46:16 -08:00
mrdudz
6222cd9115
don't use a label in the bgt macro, as that may cause subtle problems. fixes #2222
2023-10-14 23:04:30 +02:00
MooingLemur
59941d9464
cx16: use KERNAL memsiz for MEMSIZE in asminc/cx16.inc
2023-06-15 21:30:26 -04:00
Jeff Tranter
3a5fbd34da
Add KIM-1 functions to write to the 7-segment LED display and get
...
keypresses from the keypad.
Includes sample program illustrating how to use them.
Tested on real KIM-1 hardware.
2023-03-29 18:40:10 -04:00
Bob Andrews
d69117c0c1
Merge pull request #2037 from jefftranter/kim1-io-fixes
...
Fixes and improvements to KIM-1 i/o routines.
2023-03-29 22:41:34 +02:00
mooinglemur
2dd558eae9
cx16: update RAM constants for ROM ver R42
2023-03-28 21:18:02 -07:00
Jeff Tranter
806ffe5675
Fixes and improvements to KIM-1 i/o routines.
...
Tested on real KIM-1 hardware.
read.s:
- Remove commented out line.
- Remove unused check for bell character.
- Remove echo of newline (hardware always echoes entered characters).
- This fixes gets() and fgets() so they return when CR is entered.
write.s:
- Fix check for adding return after linefeed (failed to work because OUTCHR changes A)
- Remove unused check for bell character.
kim1.inc:
- Add symbol for monitor entry
crt0.s:
- Jump to KIM-1 monitor by address rather than using BRK (which relies on vector being set in RAM)
2023-03-27 17:56:25 -04:00
jede
c8c6fc6a40
add xfseek
2023-03-17 23:10:15 +01:00
Rutger van Bergen
ae23e47eb5
Merge branch 'cc65:master' into master
2022-12-26 13:57:10 +01:00
Rutger van Bergen
3b431d9fa3
Remove trailing whitespace
2022-09-19 23:57:26 +02:00
Rutger van Bergen
2b07204952
Merge branch 'cc65:master' into kim1
2022-09-19 20:03:23 +02:00
Rutger van Bergen
cb8cb876ec
Add documentation, make capitalization uniform
2022-09-19 19:56:57 +02:00
mrdudz
b09024aa32
add extra underscore to heap stuff
2022-08-29 19:55:48 +02:00
mrdudz
5d390489a8
fix underscores in errno (and related) headers
2022-08-28 21:36:22 +02:00
mrdudz
f70020a2b8
use __sig_ign and __sig_dft instead of _sig_ign and _sig_dft
2022-08-28 20:18:34 +02:00
ZeroByteOrg
5608453aea
Fixed YM2151 struct to match HW behavior
2022-08-08 16:16:37 -05:00
Dave Plummer
799aec23a6
Add KIM-1 Support
2022-06-04 13:00:48 -07:00
Bob Andrews
e0cc3650e4
Merge branch 'master' into missing-purple
2022-05-17 15:34:51 +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
jede
8c26b837ef
fix typo
2022-04-24 00:41:12 +02:00
jede
c48df98145
missing fd_management and cleaning
2022-04-24 00:39:04 +02:00
Karri Kaksonen
787d5c57ad
Merge branch 'cc65:master' into atari7800conio
2022-04-18 20:22:15 +03:00
mrdudz
ece6f10588
remove dangling spaces
...
when changing the checker scripts and/or directly comitting to git head, please make sure to also run the checks first so you don't break the autobuilds
2022-04-18 17:43:56 +02:00
Karri Kaksonen
6a6aa094fa
Merge branch 'cc65:master' into atari7800conio
2022-04-18 12:40:18 +03:00
Karri Kaksonen
45c4f7d46f
Add mono conio files
2022-04-18 11:59:54 +03:00
mrdudz
bfb8568a5f
remove dangling spaces
2022-04-17 16:04:58 +02:00
Karri Kaksonen
ce4d1e0e54
Remove obsolete file and fix tabs
2022-04-16 21:21:27 +03:00
Karri Kaksonen
77b300682a
Add basic conio buffer
2022-04-02 09:39:46 +03:00
Karri Kaksonen
d12c2d6810
Fix offset for MARIA
2022-03-19 09:09:50 +02:00
Karri Kaksonen
328781bf8a
Add target atari7800
2022-03-01 06:44:26 +02:00
Jeff Tranter
2bf8be5b3b
Fix some commonly made spelling errors in comments.
2022-02-21 15:44:31 -05:00
polluks
8e60102e8e
Removed the colour purple
...
This commit may break compatibility.
2022-02-02 00:58:50 +01:00
Daniel Lehenbauer
12f9a2f1f8
asminc/pet.inc: Add PIA1 & PIA2
2022-01-17 08:22:15 -08:00
Oliver Schmidt
8b0de8a931
Merge branch 'master' into master
2021-11-23 22:56:51 +01:00
gorlik
1918f0ac9b
adding missing VIC register definition to c64.inc
2021-11-23 21:34:49 +01:00
Greg King
af3d4581d3
Moved Creativision's playsound() into a separate file.
...
It won't waste space in a cartridge if it isn't used.
2021-06-11 07:43:25 -04:00
Christian Groessler
c90c3c9133
stdio.inc,stdio.h: set CBM PATH_MAX/FILENAME_MAX value to 255
...
Some parts of the runtime library cannot handle larger paths.
2021-06-10 20:08:58 +02:00
Christian Groessler
ae9101961e
stdio.inc,stdio.h: increase CBM PATH_MAX/FILENAME_MAX value to 256+1
2021-06-10 20:08:58 +02:00