Search found 30 matches

by ChrisL
Sun Apr 11, 2021 8:10 pm
Forum: Lounge
Topic:
Replies: -1
Views:

pre-R39 cc65 question

Here's a short test program I had written a while back that loads the joystick driver and calls joy_read(): <a href="https://github.com/CJLove/x16-cc65-testprogs/blob/master/joystick.c" rel="external nofollow">https://github.com/CJLove/x16-cc65-testprogs/blob/master/joystick.c</a>.  This worked in ...
by ChrisL
Sat Apr 10, 2021 12:32 pm
Forum: Lounge
Topic:
Replies: -1
Views:

pre-R39 cc65 question


With the combination of Greg's cc65 feature branch and the joystick rom fix from https://github.com/commanderx16/x16-rom/pull/201 I've got my libX16 library and Lode Runner port running with r39.

by ChrisL
Wed Apr 07, 2021 1:55 am
Forum: Lounge
Topic:
Replies: -1
Views:

pre-R39 cc65 question


I'm not testing with an actual controller either, just with the keyboard emulation and am seeing weird results, so I'll need to chase further.  It may or may not be related to the above issue I mentioned.

by ChrisL
Tue Apr 06, 2021 1:32 pm
Forum: Lounge
Topic:
Replies: -1
Views:

pre-R39 cc65 question

<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="9424" data-ipsquote-contentid="1232" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1617700503" data-ipsquote-userid="103" data-ipsqu...
by ChrisL
Tue Apr 06, 2021 4:06 am
Forum: Lounge
Topic:
Replies: -1
Views:

pre-R39 cc65 question

<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="9414" data-ipsquote-contentid="1232" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1617679635" data-ipsquote-userid="1521" data-ipsq...
by ChrisL
Fri Mar 12, 2021 3:15 am
Forum: Lounge
Topic:
Replies: -1
Views:

cc65: load a font into VRAM


I've got a C library which provides functions for loading files into ram or vram: https://github.com/CJLove/libX16, so hopefully the code there will work for you.

by ChrisL
Mon Jan 04, 2021 3:35 am
Forum: Lounge
Topic:
Replies: -1
Views:

Loading and Saving on the X16 from cc65

Loading to banked RAM definitely works in C using cc65 for local FS. My libX16 library (<a href="https://github.com/CJLove/libX16" rel="external nofollow">https://github.com/CJLove/libX16</a>) supports this. I think that there is an issue with the rom or emulator for r38 preventing this with SD car...
by ChrisL
Fri Jan 01, 2021 8:55 pm
Forum: Official Announcements
Topic: Prototype #2 is aliiiive!
Replies: 78
Views: 39923

Prototype #2 is aliiiive!


Great progress by the team!  What is the expected timeframe regarding rom/emulator changes to match the changes to managing banked RAM? 

by ChrisL
Mon Nov 16, 2020 3:05 am
Forum: Lounge
Topic:
Replies: -1
Views:

Function and other pointers in cc65

In terms of initializing the array of function pointers you can do that at the time you're declaring the array: <blockquote class="ipsQuote" data-ipsquote=""> <div class="ipsQuote_citation"> Quote </div> <div class="ipsQuote_contents"> <div style="background-color:#1e1e1e;color:#d4d4d4;font-size:13...
by ChrisL
Sat Oct 03, 2020 5:30 pm
Forum: Lounge
Topic:
Replies: -1
Views:

Sprite and Tile Collision?

It's been a while since I wrote the code, so I'm going back to my (sadly sparse) dev notes and trying to refresh my memory as I go... The chopper was moving multiple pixels per update (looks like I last had the deltaX set to +/- 4 pixels, deltaY set to +/- 2 pixels if explicitly moving up or down, ...