Commit Graph

328 Commits

Author SHA1 Message Date
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
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
Bob Andrews
0b0bead634 Update tgidemo.c - fix misunderstanding about TGI colors 2025-06-17 20:29:41 +02:00
Oliver
24b7d1fec7 Make use of dynamic box drawing 2025-06-15 14:14:38 -04:00
Konstantin
8202b520b2 add Agat to samples 2025-06-13 12:51:41 +03:00
Bob Andrews
c3defc1b1c Update tgidemo.c - i really like BLACK but that was a bit much :) 2025-06-12 01:00:17 +02:00
Bob Andrews
2f16defd6f Update tgidemo.c - apple2 fix 2025-06-12 00:45:17 +02:00
Bob Andrews
1c71d4c609 Update tgidemo.c
TGI color defines should be indices into the default palette
2025-06-12 00:35:29 +02:00
Bob Andrews
c3b87779b7 Update Makefile - link all Plus4 samples with plus4-hires.cfg - using the LDFLAGS mechanism for this does not work 2025-06-05 02:23:29 +02:00
Bob Andrews
79ecb2071c Update Makefile - use ld65, not cl65, for linking 2025-06-05 02:09:11 +02:00
Gorilla Sapiens
dd2f19260c added information to Makefile output 2025-06-04 03:03:18 +00:00
Bob Andrews
a1fe6b8465 kill spaces 2025-06-01 23:22:44 +02:00
Bob Andrews
aa4a791cc3 Merge branch 'master' into feature/plus4-tgi-driver 2025-06-01 23:12:27 +02:00
Christian Groessler
9f5a195dc2 samples/geos/Makefile: use C1541 variable for c1541 program 2025-03-22 00:17:03 +01:00
mrdudz
734a76c158 added missing directories to "install" target 2025-01-12 19:03:39 +01:00
mrdudz
67da1e7123 add makefile for simulator samples 2025-01-12 18:57:31 +01:00
Sidney Cadot
aacd64b2bc Shorteded is_65c02 routine. 2025-01-05 22:29:51 +01:00
sidney
aca6b33af7 Fixed printf format types, and don't act like a test. 2025-01-05 16:16:13 +01:00
sidney
988260c699 sim65: add C/assembly support, docs, and samples for the new peripheral functionality.
This PR is the second of two PRs that replaces earlier PRs #2589 and #2590. Due to a git branching mishap it was decided to re-partition the new functionality in two sequential PRs that offer self-contained, new functionality to sim65.

The functionality in this second and last PR provides the following things in relation to the new "peripheral" support:

* C support: there is now an include/sim65.h that can be included from C. It provides access to the memory-mapped peripheral addresses.

* Asm support: there is now an asminc/sim65.inc that can be included from assembly. It provides symbolic labels for the memory-mapped peripheral addresses.

Note: the two items above are implemented by adding a "_peripherals" symbol to cfg/sim6502.cfg and cfg/sim65c02.cfg, with the fixed base address of the peripherals memory aperture (0xffc0).

* Updated the sim65 documentation to describe the peripherals in some detail, with examples that show to use the new features from within C.

* Some examples in the new samples/sim5/ directory. These are currently not integrated in the build system (in other words, there's no Makefile there), because I don't know how to do that. I will happily implement that after #2582 is taken care of.

If that is not acceptable, the next best thing will be for somebody else (who understands how the Makefiles are set up) to take care of this.

If that's not going to happen, and we don't want examples that are not properly integrated with the build system, there's always the option of removing these samples from the PR.
2025-01-05 15:58:05 +01:00
Stefan
cf470dd0df Update sieve.c 2024-12-09 18:26:00 +01:00
Stefan
5f2c5b58ab Update overlaydemo.c 2024-12-09 18:25:34 +01:00
Stefan
5d2730f4b4 Update multidemo.c 2024-12-09 00:44:44 +01:00
Stefan
8b008052cb Update mandelbrot.c 2024-12-09 00:43:35 +01:00
Stefan
26e6717102 Update mandelbrot.c 2024-12-09 00:43:05 +01:00
Stefan
316ee4ad5b Update overlay-demo.c 2024-12-09 00:42:28 +01:00
Stefan
be6819ca1f Update plasma.c 2024-12-09 00:41:03 +01:00
Stefan
3612d90c8e Update fire.c 2024-12-09 00:40:41 +01:00
lcvgit
c41eb007e4 Update checkversion.c
Add missing shifts.
2024-10-21 10:09:00 -05:00
lcvgit
02840d503c Fix checkversion.c
Add missing shifts for checking version from __CC65__.
2024-10-21 10:00:48 -05:00
Olli Savia
4989ce485c Build hello-asm.s on C16 & Plus/4 2024-06-16 19:15:54 +03:00
Olli Savia
a1ca451e69 Renamed: hello.s -> hello-asm.s 2024-06-16 09:35:44 +03:00
Olli Savia
5976e3b85d Add sample assembly program for Commodore machines 2024-06-13 16:22:42 +03:00
mrdudz
934de685bc this is pr #2194 - removed ramfont.o 2024-02-03 01:34:21 +01: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
polluks2
a5a8225a58 Create disk of GEOS samples
You don't need to convert anymore.
2023-01-14 13:49:16 +01:00
polluks2
e4d9dbf0c0 Wrong file "geover.cvt"
See line 106
2023-01-08 17:47:04 +01:00
Rutger van Bergen
a8c6409689 Delete kimHello 2022-12-26 19:54:00 +01:00
Rutger van Bergen
ae23e47eb5 Merge branch 'cc65:master' into master 2022-12-26 13:57:10 +01:00
Oliver Schmidt
de30a57c0c Added minimalistic terminal program.
So far there was no sample code at all making use of the serial drivers.
2022-12-23 16:20:26 +01:00
mrdudz
bf924395fb fix some bashisms, hopefully makes "check" work again in cmd.exe 2022-11-05 19:41:02 +01:00
Rutger van Bergen
3b431d9fa3 Remove trailing whitespace 2022-09-19 23:57:26 +02:00
Rutger van Bergen
cb8cb876ec Add documentation, make capitalization uniform 2022-09-19 19:56:57 +02:00
Bob Andrews
6239fbe18c Revert "rename '_poserror' to '__poserror'" 2022-07-24 18:14:21 +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
Dave Plummer
8f9777d9e0 Fix ushot overflow, capitalization 2022-06-06 15:14:01 -07:00
Dave Plummer
799aec23a6 Add KIM-1 Support 2022-06-04 13:00:48 -07:00
mrdudz
1a5852ab91 don't try to build the checkversion sample for targets that do not have printf 2022-05-17 13:52:30 +02:00
mrdudz
8062f8d029 sample program that demonstrates how to compare the value of __CC65__ for
any version of the compiler
2022-05-10 01:16:19 +02: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