Search found 216 matches

by NekoNoNiaow
Sat Apr 20, 2019 5:25 pm
Forum: Games
Topic: OType
Replies: 81
Views: 64173

Re: OType

The problem is that the scroll is far from 50fps, so there's a large probability that copying the line and attribute will not happen atomically, so you can get bright flashes caused by having some of the graphics displayed with the wrong set of colors. Damn, you are right, I completely forgot about...
by NekoNoNiaow
Sat Apr 20, 2019 3:25 am
Forum: Games
Topic: OType
Replies: 81
Views: 64173

Re: OType

For the details, Chema is correct: It is AIC; so the scroll vertically need to be in multiple of two steps, sprites move by 6 pixel laterally, there's no attribute conflicts because it's AIC so all the attributes are on the left side of the play field. Oki, so the scroll step is two lines because A...
by NekoNoNiaow
Mon Apr 15, 2019 7:14 pm
Forum: Cross development tools
Topic: Exact procedure for committing changes to the OSDK on SVN.
Replies: 5
Views: 209

Re: Exact procedure for committing changes to the OSDK on SVN.

I thought it was clear in what I wrote, the review/comments are done before the code ends up in the SVN repository: If nobody among the three or four persons who usually have opinion on that is against the change [review], then I can check with the author on how to bring it on board [the SVN depot]...
by NekoNoNiaow
Mon Apr 15, 2019 6:34 pm
Forum: Cross development tools
Topic: Exact procedure for committing changes to the OSDK on SVN.
Replies: 5
Views: 209

Re: Exact procedure for committing changes to the OSDK on SVN.

If you want an actual workflow to follow, I would suggest that one: Suggest the change you want to do, your idea, and I can tell you pretty much immediately if I will accept it or not. For example, if it involves any language that is not C or C++, installing custom build tools and new frameworks ju...
by NekoNoNiaow
Sun Apr 14, 2019 4:01 am
Forum: Cross development tools
Topic: Exact procedure for committing changes to the OSDK on SVN.
Replies: 5
Views: 209

Exact procedure for committing changes to the OSDK on SVN.

Hello kitties, I will (very) soon (like, this Sunday ;)) have a few (very) small changes to the OSDK that I want to share with the community so before I do that I would like to be certain of the contribution procedure. ( Note: my goal is not to change that procedure, let us not discuss that, I just ...
by NekoNoNiaow
Sat Apr 13, 2019 4:16 pm
Forum: Cross development tools
Topic: OSDK 1.14 RC
Replies: 9
Views: 349

Re: OSDK 1.14 RC

How fluffy! Thanks DBug. ;) I haz just installed it and am using it as my main compiler. Edit: added preliminary result below. Just compiled my test effect (100% C) and already getting better results with the OSDK 1.14 RC compared to 1.13. As you can see below: execution speed is higher (about 1/30 ...
by NekoNoNiaow
Sat Apr 13, 2019 1:38 am
Forum: Cross development tools
Topic: OSDK C compiler : are floats supported?
Replies: 8
Views: 288

Re: OSDK C compiler : are floats supported?

Here is a much simpler program which exhibits the issue: #include <time.h> void main() { unsigned long clockValue; clockValue = clock(); //clockValue = 1; printf("clockValue : %d\n", clockValue); printf("clockValue*100 : %d\n", clockValue*100); printf("clockValue*100/100 : %d\n", clockValue*100/100)...
by NekoNoNiaow
Sat Apr 13, 2019 12:55 am
Forum: Cross development tools
Topic: OSDK C compiler : are floats supported?
Replies: 8
Views: 288

Re: OSDK C compiler : are floats supported?

The problem cannot be overflow, I initially thought that was the case which is why I printed the intermediary values and they all fit snugly into a 16 bit integer. All computations fit the same pattern: set a variable to a value of 200 (in the latter case, that is obtained by "clock() * 100"). this ...
by NekoNoNiaow
Fri Apr 12, 2019 3:13 am
Forum: Cross development tools
Topic: OSDK C compiler : are floats supported?
Replies: 8
Views: 288

Re: OSDK C compiler : are floats supported?

Ohhhh, I think I have found the actual issue and it might not be float related at all. :D Gimme a few minutes and I will get back with more details. ;) Edit: yup, not related to float, there is something fishy with integer computations as soon as a call to clock() is involved. :shock: Here's a small...
by NekoNoNiaow
Fri Apr 12, 2019 2:22 am
Forum: Cross development tools
Topic: OSDK C compiler : are floats supported?
Replies: 8
Views: 288

Re: OSDK C compiler : are floats supported?

Yup! Here it is: The code: #include <time.h> void main(void) { long testl = 224; float testlf = (float)testl; long clockl = clock(); float clockf = 123; float clocklf = clockl; float seconds = clockf / (float)CLOCKS_PER_SEC; float seconds2 = clockf / CLOCKS_PER_SEC; clock_t TIME0, TIME1; printf("tes...
by NekoNoNiaow
Wed Apr 10, 2019 3:46 am
Forum: Cross development tools
Topic: OSDK C compiler : are floats supported?
Replies: 8
Views: 288

OSDK C compiler : are floats supported?

Hello kitties, While attempting to use float values in my program I encountered a few weird issues with numerical values which led me to wonder if float values were correctly supported by the C compiler of the OSDK. In order to verify that floats were properly supported I wrote the following program...
by NekoNoNiaow
Wed Apr 10, 2019 2:58 am
Forum: C programming
Topic: Opcode 52 executed at 024D
Replies: 5
Views: 372

Re: Opcode 52 executed at 024D

IMO, the size is not an issue. Attached is TAP file with 23774 bytes length and the source, which is: :) Indeed, thanks for testing! And I confirm that adding few printf() calls to the program, which increases its size, can sometime help make it work. :shock: I would bet for a zero page variable no...
by NekoNoNiaow
Wed Apr 10, 2019 2:38 am
Forum: Cross development tools
Topic: CRTC Pasta assembler
Replies: 4
Views: 154

Re: CRTC Pasta assembler

[the syntax, inspired by xa65] It is not, by far. I do not know XA's syntax too well but I guess that is why the author said "inspired by" rather than "identical to". ;) What is different from XA: - .org instead of * - .scope instead of .( and .) - .byte instead of .byt - .macro instead of #define ...
by NekoNoNiaow
Tue Apr 09, 2019 4:53 am
Forum: C programming
Topic: Opcode 52 executed at 024D
Replies: 5
Views: 372

Opcode 52 executed at 024D

Hello, as the title indicates, this is the error I get in Oricutron when executing a newly compiled C program. ;) Here is what I am doing: Compile a C program using the OSDK (1.13). This builds fine and produces a .TAP file of 23 774 bytes, which is quite on the big side. Launch Oricutron (using osd...
by NekoNoNiaow
Tue Apr 09, 2019 3:18 am
Forum: Cross development tools
Topic: CRTC Pasta assembler
Replies: 4
Views: 154

CRTC Pasta assembler

Hello kittens! Have your heard of the Pasta assembler (https://github.com/crtc-demos/pasta)? I just found it while browsing the CRTC GitHub projects. Its syntax is inspired by xa65's (which most people here are familiar with I recon) and adds a very nice automatic zero page register allocation featu...