Search found 2698 matches

by Dbug
Tue Oct 09, 2018 7:25 pm
Forum: Demos
Topic: OricExos - making the impossible
Replies: 40
Views: 1078

Re: OricExos - making the impossible

I've demo example for you, could you try that:

Code: Select all

10 ID=2^PEEK(#EDB0)
20 IF ID>8 THEN END
30 HIRES:PAPER 0:INK ID
40 CURSET 120,100,3
50 FOR I=1 TO 99 STEP 5
60   IF C AND ID THEN CIRCLE I,2
70   C=C+1
80 NEXT I
by Dbug
Tue Oct 09, 2018 7:06 pm
Forum: C programming
Topic: Adding MYMPlayer to C
Replies: 7
Views: 125

Re: Adding MYMPlayer to C

What you can do, is to use osdk_showmap to generated the memory map of your program and see if any area overlap with the music player. If you are doing the program in C or assembler, you can put it wherever you want: The CALL#6000 thing was just because in had to work with BASIC. If you integrate th...
by Dbug
Tue Oct 09, 2018 11:23 am
Forum: Demos
Topic: OricExos - making the impossible
Replies: 40
Views: 1078

Re: OricExos - making the impossible

hearing the 4 Orics playing with their AY's together should rock! Literally :) 2 to the left channel, 2 to the right, and all playing different instruments or chords so up to 12 different channels... Uau. Regarding the stereo, I think what would work better (from experience on Stereo YM on the Atar...
by Dbug
Tue Oct 09, 2018 7:23 am
Forum: Games
Topic: Ascii Moon Buggy
Replies: 18
Views: 608

Re: Ascii Moon Buggy

The lib has not changed in years, I don't use dynamic allocation on the Oric for performance reason, but the code is there, so it most probably works.
If it does not, then please make me a minimal repro-case so I can fix it :)
by Dbug
Mon Oct 08, 2018 8:23 pm
Forum: C programming
Topic: Adding MYMPlayer to C
Replies: 7
Views: 125

Re: Adding MYMPlayer to C

The error is reported from the system not being happy after the program finished. If you add: printf("Press a key to stop"); get(); call(0x6503); you'll see that the error appears only after you exit the program. Basically the whole "sedoric" invocation is kind of wonky (and by the way, how did you ...
by Dbug
Mon Oct 08, 2018 6:26 pm
Forum: Demos
Topic: OricExos - making the impossible
Replies: 40
Views: 1078

Re: OricExos - making the impossible

Cool :)

So, in this version, how did you merge the outputs, is it the RGB ladder thing, or pure signal ORing, or???
by Dbug
Sat Oct 06, 2018 3:28 pm
Forum: Games
Topic: Ascii Moon Buggy
Replies: 18
Views: 608

Re: Ascii Moon Buggy

I tried everything I thought to speed up, but... maybe C is not very suitable for fast games. Well, regarding the speed difference, there are many things that can impact the performance. From my own tests, I'd say that optimized C (with our compiler) is about 5 to 10 time slower in average than ass...
by Dbug
Wed Oct 03, 2018 5:39 pm
Forum: Demos
Topic: OricExos - making the impossible
Replies: 40
Views: 1078

Re: OricExos - making the impossible

Regarding the use of multiple oric motherboards, there are multiple ways of seing the situation. The way I see it is that: - Orics are not rare, at all. It was not "Computer of the year 1983" in France for nothing: Every week you can find some on ebay, right now there are about ten Pravetz and Atmos...
by Dbug
Tue Oct 02, 2018 9:43 am
Forum: General Discussion
Topic: Modern Software Packaging
Replies: 14
Views: 544

Re: Modern Software Packaging

Interesting, did not know these universal game cases, thanks for the link :)

I wonder how a 3" floppy would fit in...
by Dbug
Tue Oct 02, 2018 9:38 am
Forum: Games
Topic: Ascii Moon Buggy
Replies: 18
Views: 608

Re: Ascii Moon Buggy

The one problem I could not solve is that when using floating-point numbers, the program starts to work incorrectly. (for example, if I sketch line 44 in obj_gameManager.c). Floating point numbers are kind of a hack, basically the compiler has been told on how represent these values as the 5 bytes ...
by Dbug
Wed Sep 26, 2018 6:13 pm
Forum: C programming
Topic: Textmode Sideways Scroller
Replies: 17
Views: 555

Re: Textmode Sideways Scroller

A "soft" way to learn assembler is to look in your osdk/temp folder for the content of the "linked.s", it's basically the output of the C compiler. You will experience multiple-phases of enlightment: 1) Duh, what's that shit, don't understand anything, is that magic incantations???? 2) Oh, I see, I ...
by Dbug
Tue Sep 25, 2018 9:19 pm
Forum: General Discussion
Topic: Modern Software Packaging
Replies: 14
Views: 544

Re: Modern Software Packaging

Yes, I've put a cutting board between the transparent window and the plastic, used a small cutter (scalpel) to cut out the plastic, that makes a hole, but the idea is to put a rectangular filler to hide it (can just be a black or red sheet of plastic, cardboard, anything rigid and opaque would do) g...
by Dbug
Tue Sep 25, 2018 9:04 am
Forum: General Discussion
Topic: Modern Software Packaging
Replies: 14
Views: 544

Re: Modern Software Packaging

Here is the v2: - Color print instead of black and white - Oric logo is now aligned with the side, and with "software" under - Added the red lines on top and bottom - Defence-Force logo does not have the white fringe anymore IMGP5838.JPG IMGP5839.JPG Regarding the white foam inside the box, it was s...
by Dbug
Sun Sep 23, 2018 3:05 pm
Forum: General Discussion
Topic: Modern Software Packaging
Replies: 14
Views: 544

Re: Modern Software Packaging

But nowadays all the options I found (DS, PSP, Wii and PS4 all have different cases, I think) share one problem for me that you seem to have solved: the internal shape to hold a disk. How did you do that? You may want me to prepare a new version of the cover, prepared for this type of cases... It's...
by Dbug
Sun Sep 23, 2018 2:06 pm
Forum: C programming
Topic: Textmode Sideways Scroller
Replies: 17
Views: 555

Re: Textmode Sideways Scroller

So, regarding your routines, there's rarely an "optimal way" of doing things, in your particular case, the killer is the "n*40" which the compiler will not optimize for you. What I suggest instead of for (n=26;n>27-maxheight;n--) { if (n>hgt) { poke(bufferstart+39+n*40,128); } else { poke(bufferstar...