1
0
mirror of https://github.com/cc65/cc65.git synced 2026-02-16 11:20:54 +00:00
Commit Graph

3690 Commits

Author SHA1 Message Date
mrdudz
d374ea2cde include target header to allow lib to build 2025-06-24 21:30:53 +02:00
mrdudz
450c8f7c55 startup code and minimalist kernal support for c65 and mega65 2025-06-24 21:23:04 +02:00
Bob Andrews
54a2410b5a Merge pull request #2674 from GorillaSapiens/c_sp
rename "sp" to "c_sp", avoid conflict with 4510 opcodes
2025-06-24 17:44:13 +02:00
Gorilla Sapiens
b2e5d3cd25 insipid formatting whack-a-mole 2025-06-23 17:51:44 +00:00
Bob Andrews
4863a3e29b Merge pull request #2705 from Russell-S-Harper/add-conio-cgets
Implement conio cgets
2025-06-23 16:10:51 +02:00
Bob Andrews
2e7ee0f105 Merge pull request #2711 from mrdudz/plus4tgi
TGI Documentation and Comments fix
2025-06-23 13:40:41 +02:00
mrdudz
034fc93c75 enable 4510/45GS02 in the compiler - however, the resulting asm files cant be assembled because of sp vs c_sp clash 2025-06-23 13:23:23 +02:00
Gorilla Sapiens
0489098517 restore comment alignment 2025-06-22 21:34:41 +00:00
mrdudz
44672e6281 prepared lib makefile. skip building the library while compiler support is not there 2025-06-22 21:43:21 +02:00
mrdudz
715d9c00a2 initial (identical) minimal "library" for assembly support for c65 and mega65. taken from #1792 2025-06-22 21:09:40 +02:00
Gorilla Sapiens
a7af49a763 Merge branch 'master' into c_sp 2025-06-22 19:02:24 +00:00
Russell-S-Harper
7f40affb59 Adding documentation and some minor reformatting to ensure consistency 2025-06-21 08:48:41 -04:00
Russell-S-Harper
8bfaaa60ba Revising to align with stdio fgets 2025-06-21 06:01:13 -04:00
Russell-S-Harper
00bb9d5376 Edits to more closely match standard cgets 2025-06-20 18:48:51 -04:00
Colin Leroy-Mira
ec0595ad28 Remove useless code
LOSCR is a valid and safe softswitch on any Apple II.
Thanks Oliver S!
2025-06-19 14:07:43 -04:00
Gorilla Sapiens
8cb0578447 changes suggested by mrdudz 2025-06-18 06:38:38 +00:00
Gorilla Sapiens
06a77abc68 Merge branch 'master' into sane_makefile_output 2025-06-18 06:26:58 +00:00
Gorilla Sapiens
5a4b11e7ff Merge branch 'master' into c_sp 2025-06-18 06:14:39 +00:00
mrdudz
55742003d6 add some more comments 2025-06-17 21:40:04 +02:00
Bob Andrews
3486cd7830 Merge pull request #967 from rhalkyard/feature/plus4-tgi-driver
TGI driver and IRQ-handler fix for plus4
2025-06-17 20:49:09 +02:00
Russell-S-Harper
17a8c92ba1 Implement conio cgets 2025-06-16 16:45:46 -04:00
Colin Leroy-Mira
990d65e4e4 Apple2: Setup IRQ/RST vectors in LC if needed
Programs running under DOS3.3 need to setup correct
reset and IRQ vectors in the language card.
2025-06-15 14:12:01 -04:00
Gorilla Sapiens
2f55eeb612 sp -> c_sp for agat/crt0.s 2025-06-14 01:11:39 +00:00
GorillaSapiens
ae54171b8a Merge branch 'master' into c_sp 2025-06-13 17:43:06 -07:00
Konstantin
8202b520b2 add Agat to samples 2025-06-13 12:51:41 +03:00
Konstantin
c28bafa581 add chline, cvline functions 2025-06-13 12:50:39 +03:00
Konstantin
1e80269c6b Add comment about why AppleSingle header is needed 2025-06-09 21:14:01 +03:00
Konstantin
41a82f7165 fix codestyle 2025-06-08 23:20:21 +03:00
Konstantin
1a109c0b34 Fix codestyle 2025-06-07 12:36:49 +03:00
Konstantin
5ff18c1ebc Updates 2025-06-04 23:11:13 +03:00
Konstantin
de524a6561 Initial Agat support 2025-06-04 22:51:17 +03:00
Gorilla Sapiens
b6f42f9ab2 changed "spc" to "c_sp" 2025-06-04 06:37:59 +00:00
Gorilla Sapiens
dd2f19260c added information to Makefile output 2025-06-04 03:03:18 +00:00
Gorilla Sapiens
3d118dc6e5 rename "sp" to "spc", avoid conflict with 4510 opcodes 2025-06-04 02:06:40 +00:00
Bob Andrews
d7c84d1434 kill spaces 2025-06-01 23:20:51 +02:00
Bob Andrews
81ca41b736 kill dangling spaces 2025-06-01 23:19:51 +02:00
Bob Andrews
aa4a791cc3 Merge branch 'master' into feature/plus4-tgi-driver 2025-06-01 23:12:27 +02:00
Colin Leroy-Mira
0122307399 Apple2: Dynamic IIe check on a2_lo_tgi 2025-06-01 12:53:36 +02:00
Colin Leroy-Mira
a9ab23ad51 Make waitvsync available on apple2 2025-06-01 12:53:36 +02:00
Colin Leroy-Mira
d3ef3e1b62 Apple2: Don't depend on apple2enh definition for characters
Up, Down and Del, as well as Open-Apple, exist on
non-enhanced Apple //e.
2025-05-31 19:43:53 +02:00
Colin Leroy-Mira
c75c305c59 Apple2: Fix inconsistency (use bit like everywhere else) 2025-05-31 15:43:23 +02:00
Colin Leroy-Mira
d03529067a Apple2: don't define _allow_lowercase and uppercasemask on APPLE2ENH 2025-05-31 15:42:02 +02:00
Colin Leroy-Mira
89daccaa43 Apple2: automatically enable lowercase starting from //e 2025-05-31 15:42:02 +02:00
Colin Leroy-Mira
f8c51ffd3d Spare a few bytes 2025-05-31 12:04:47 +02:00
Colin Leroy-Mira
e444f4c40e Apple2: Safely check for 80-columns card
Check the Pascal ID bytes for an 80-columns card
to avoid blindly jumping into a $C300 that could be
totally unrelated.
2025-05-27 23:38:56 +02:00
Colin Leroy-Mira
816666615b Apple2: Make 80-columns support dynamic on apple2 target
Add a machinetype identifier to help us quickly identify
Apple //e (bit 7) and //e enhanced (bit 6).

Use it in conio functions for 80-columns code instead of
relying entirely on the __APPLE2ENH__ target.

Move videomode() to the apple2 target, and have it return
an error if 80-columns hardware is not available - this
is a lie for now, it is considered available on //e enhanced,
which may not be true, and not available on //e, which
may also be not true. An ulterior patch will make that
check correctly.

Adapt the box/line drawing characters so that one can use
MouseText on the apple2 target if it is available, by
defining DYN_DRAW_BOX. No change by default: MouseText is
considered available on apple2enh and not available on
apple2.
2025-05-27 19:03:20 +02:00
Colin Leroy-Mira
cd92e4f0af Apple2: Set mousecard IRQ rate when possible 2025-05-26 14:58:13 +02:00
Bob Andrews
3b089b715a Merge pull request #2485 from SvenMichaelKlose/add_plus4_getin_wrapper
Add Plus/4 wrapper for KERNAL's GETIN.
2025-05-25 03:58:00 +02:00
Bob Andrews
0d9ae7cb70 Update kgetin.s
use symbol from cbm_kernal.inc
2025-05-25 03:44:36 +02:00
mrdudz
e9a15af29b cleanup/fix pce cpeekc/cpeekcolor/cpeekrevers/cpeeks, replaces #532 2025-05-25 02:52:03 +02:00