Search found 19 matches

by Microdriver
Mon Feb 12, 2024 3:39 pm
Forum: X16 Feature Requests
Topic: 'GO64' (and 'GO20') Commands?
Replies: 12
Views: 4478

Re: 'GO64' (and 'GO20') Commands?

Why would you want to run C64-programs? You could run "Vice" on your PC to do that.

For the X16 go write more exciting stuff.
by Microdriver
Fri Nov 17, 2023 2:23 pm
Forum: X16 Software Support
Topic: Some cc65 compiler questions
Replies: 25
Views: 22155

Re: Some cc65 compiler questions

The demo loads some ZSM songs and plays them. But, actually, what the program does is not relevant in this particular case. I am just interested in how the one row in BASIC is generated. I can see exactly how it is done in assembly language and I think I understand how it works, but I don't know ho...
by Microdriver
Fri Nov 17, 2023 12:47 pm
Forum: X16 Software Support
Topic: Some cc65 compiler questions
Replies: 25
Views: 22155

Re: Some cc65 compiler questions

Johan Kårlin wrote: Fri Nov 17, 2023 8:13 amI found this done in the demo for ZSMKit.
I guess, first thing would be to run the demo to see what it does (before changing things).
I can compile it, and load "DEMO.PRG" into the emulator, but after "RUN", nothing happens. What is supposed to be done?
by Microdriver
Thu Nov 16, 2023 11:59 am
Forum: X16 Software Support
Topic: Some cc65 compiler questions
Replies: 25
Views: 22155

Re: Some cc65 compiler questions

So, if CC65 has its problems, what language would you suggest for the X16, if one wanted something faster than BASIC, but not as low level as assembly? Pascal? Prog8? C with another compiler?
by Microdriver
Wed Nov 15, 2023 9:12 pm
Forum: X16 Software Support
Topic: Some cc65 compiler questions
Replies: 25
Views: 22155

Re: Some cc65 compiler questions

Support for float or double was never added. Recently, I came across this project, which seems to apply float support of CC65 for the C64 target, by making use of the C64's kernal floating point routines: https://github.com/mrdudz/cc65-floatlib So right now, it's for C64, not Commander X16. I wonde...
by Microdriver
Mon Nov 13, 2023 6:42 pm
Forum: X16 Software Support
Topic: Some cc65 compiler questions
Replies: 25
Views: 22155

Re: Some cc65 compiler questions

I'm compiling on Linux and have that problem too. Also, when I return 0 from main(). Well, maybe when running the assembly code that was compiled from the C code, it changes something in the memory, so when the memory address is called again, it finds different bytes and does something unexpected. J...
by Microdriver
Mon Nov 13, 2023 4:24 pm
Forum: X16 Software Support
Topic: Some cc65 compiler questions
Replies: 25
Views: 22155

Re: Some cc65 compiler questions

3. The generated code starts with switching to lower character mode. I can't find a way to avoid this. Is it possible? Of course, I can just switch back, but I think it is worth a question. Yeah, noticed that too. Don't know how to avoid it yet. In this demo , he does: // Switch back to the upperca...
by Microdriver
Wed Nov 01, 2023 10:47 pm
Forum: Development Tools
Topic: Simple sprite conversion tool (Gimp, Python)
Replies: 0
Views: 7045

Simple sprite conversion tool (Gimp, Python)

Hi, wanted to present a small Python-script, I wrote today. Was still thinking about this sprite example . It has the sprite data right in the program (beginning from line number 3000). So I wanted to be able to draw a sprite image in gimp, and export it to this kind of data format. Actually, into a...
by Microdriver
Sun Oct 29, 2023 5:41 pm
Forum: Games
Topic: PETSCII Portal X16
Replies: 1
Views: 3388

Re: PETSCII Portal X16

Awesome!
by Microdriver
Thu Oct 26, 2023 8:40 am
Forum: Programming
Topic: Using bitmap mode from C
Replies: 11
Views: 5515

Re: Using bitmap mode from C

There has been a lot of talk over the years about using VERA; it's pretty well documented and thoroughly discussed. Where? I couldn't find good code examples yet. Here's the VERA manual https://github.com/X16Community/x16-docs/blob/master/VERA%20Programmer's%20Reference.md What good is a reference,...