Commit Graph

11666 Commits

Author SHA1 Message Date
mrdudz
1b815d4148 add joydemo to c65/mega65 samples, it works when driver is statically linked 2025-06-25 23:52:59 +02:00
mrdudz
ad4d86bbf2 add a standard joystick driver, adapted from the c64 one 2025-06-25 23:44:07 +02:00
mrdudz
38bdb2326b added a simple joystick api example, since we didn't have one. 2025-06-25 23:14:08 +02:00
mrdudz
f8b1691eff prepare vic3 header 2025-06-25 21:48:25 +02:00
mrdudz
a7e509cd43 better handling of the cursor, use kernal function to read key, not the UART directly 2025-06-25 21:39:03 +02:00
mrdudz
ef1b101538 fix cursor() 2025-06-25 20:38:58 +02:00
mrdudz
2206b8d199 fix getscreensize 2025-06-25 18:52:36 +02:00
mrdudz
1e209b1f15 forgot, need sleep 2025-06-25 05:14:26 +02:00
mrdudz
4db5ac6c14 SCREEN_PTR does only contain the offset apparently (unlike on other cbm systems), so we need extra handling 2025-06-25 05:13:09 +02:00
mrdudz
955c6627c0 forgot settime... 2025-06-25 02:47:33 +02:00
mrdudz
db49432561 some more simple fixes, make targettest(s) work 2025-06-25 02:38:40 +02:00
mrdudz
79b2d25840 name the SIDs 1 and 2 just like the CIAs 2025-06-25 02:32:46 +02:00
mrdudz
23336420b1 a bunch of simple conio fixes, makes a few more samples work 2025-06-25 00:23:58 +02:00
mrdudz
fa6d72cae5 move zp range to a somewhat safer place 2025-06-25 00:14:19 +02:00
mrdudz
4d1fbe3f90 fix refs (remove 652SC02) 2025-06-24 21:59:35 +02:00
mrdudz
f787e0857a remove non existing kernal export 2025-06-24 21:52:48 +02:00
mrdudz
faa287f578 enable building library and samples 2025-06-24 21:40:59 +02:00
mrdudz
d6cc893940 fix instruction set bits set by the compiler. in particular do not set the 65SC02 bit for 4510/45GS02, else we get clashes with sta(zp) 2025-06-24 21:39:39 +02:00
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
mrdudz
bfb16888d1 simple linker config for c65 and mega65 2025-06-24 21:20:31 +02:00
mrdudz
a37a88d5bf std cbm tgi colors 2025-06-24 21:19:38 +02:00
mrdudz
681b49a111 initial target header files for c65 and mega65 2025-06-24 19:55:28 +02:00
mrdudz
7be14a951c initial asm includes for c65 and mega65 2025-06-24 19:33:49 +02:00
mrdudz
358167556c Merge remote-tracking branch 'upstream' into tryrenaming 2025-06-24 17:51:48 +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
Bob Andrews
cd96ce96a1 Merge pull request #2733 from Russell-S-Harper/update-docn-with-cscanf
Updated documentation with cscanf
2025-06-24 17:27:08 +02:00
Russell-S-Harper
450898513c Updated doc'n with cscanf 2025-06-23 22:07:09 -04:00
Gorilla Sapiens
b2e5d3cd25 insipid formatting whack-a-mole 2025-06-23 17:51:44 +00:00
mrdudz
5fc15a7a60 test #2674 2025-06-23 17:09:06 +02: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
a0c6c64826 Merge pull request #2723 from kugelfuhr/kugelfuhr/fix-2717
Allow multiple passes for da65 to resolve labels
2025-06-23 15:14:01 +02:00
Kugel Fuhr
4c81eacefe Added -d/--debug and -m/--multi-pass switches to the disassembler. The latter
will make the disassembler run multiple preparation passes to find all
addresses where labels must be placed. Without -m some label addresses are
found in the final pass, where the disassembler cannot make use of them.
2025-06-23 14:50:40 +02:00
Bob Andrews
c520455b2b Merge pull request #2729 from kugelfuhr/kugelfuhr/fix-2208
When studying a symbol expression use its address size if its smaller than that of the symbol
2025-06-23 14:22:22 +02:00
Bob Andrews
c20461d213 Merge pull request #2722 from kugelfuhr/kugelfuhr/da65-cleanup
Small cleanup for da65
2025-06-23 14:18:18 +02:00
Bob Andrews
c832af8a71 Merge pull request #2710 from kugelfuhr/kugelfuhr/fix-2694
Fix wrong file offset handling for a memory area with only run segments written to a file
2025-06-23 14:17:55 +02:00
Kugel Fuhr
96bb1e4336 Fix coding style. 2025-06-23 14:02:56 +02:00
Kugel Fuhr
49713f73e0 Output relative branch targets as "*-30" instead of "* + (-30)". 2025-06-23 14:01:29 +02:00
Bob Andrews
540a6a7658 Merge pull request #2728 from kugelfuhr/kugelfuhr/da65-improvements
Cleanup for the da65 code base
2025-06-23 13:47:23 +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
Bob Andrews
46be7778cd Merge pull request #2730 from mrdudz/mega65target
Mega65 target
2025-06-23 13:34:47 +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
f6a3f66f0b asm configs 2025-06-22 21:42:36 +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
mrdudz
6d7f37c4f2 update list of targets in the docs 2025-06-22 21:08:13 +02:00
mrdudz
8615c244d9 add initial target for mega65, also added c65 where missing. reworked from #1792 2025-06-22 21:07:38 +02:00
Gorilla Sapiens
a7af49a763 Merge branch 'master' into c_sp 2025-06-22 19:02:24 +00:00
Kugel Fuhr
e949fbdbbf Unify CPU list in the docs. 2025-06-22 20:36:30 +02:00