Search found 3206 matches

by Dbug
Tue Oct 28, 2008 8:53 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 291293

Cool that you get the generator working :)

About the bug, I already ran in this kind of issue, but I never so far managed to find the reason.

It happens only with local variables, so it may be an issue in the way the "stack frame" is managed.
by Dbug
Wed Oct 22, 2008 10:55 pm
Forum: 6502 assembly coding
Topic: Clipped line routine
Replies: 20
Views: 26608

For a filled polygon routine, yes. For a line routine, no. This is a bug. Need to fix it.
Btw, I think I found how to modify the clipper so it behave well on the polygon routines. Need to test.
by Dbug
Mon Oct 20, 2008 10:33 am
Forum: Emulators
Topic: Linux (Ubuntu,...) & Euphoric
Replies: 17
Views: 17889

Well, if Microsoft was not so retarded, and realised that the money is not in the operating system, but in the applications, and the fact of having the control on the operating system is just a way to get the power, they could just have perfect the existing Windows, instead of trying to create more ...
by Dbug
Sun Oct 19, 2008 5:03 pm
Forum: Emulators
Topic: Linux (Ubuntu,...) & Euphoric
Replies: 17
Views: 17889

Well, here I have three computers, the two laptops are running Ubuntu, and the desktop is a Dual Boot Ubuntu/Windows XP.

So yes, I sure hope at some point to have everything on Linux so i do not have to use Windows anymore.
by Dbug
Thu Oct 16, 2008 10:55 pm
Forum: General Discussion
Topic: List of Oric software
Replies: 12
Views: 11832

Steve M wrote:Listings weren't sold individually as items in their own right, but some were sold on tape and so those would count.
Well, the Oric had a lot of books like "50 games for your Oric", which contains nothing except listings, and you have to buy the book to get the games.

Commercial or not ?
by Dbug
Wed Oct 15, 2008 9:36 am
Forum: 6502 assembly coding
Topic: BCD division by 2
Replies: 3
Views: 10511

If you are going to use BCD, make sure you don't do anything wrong in your interrupt handlers, or that you stop interrupts before :)

Was bitten by that when I worked on my minigames :D
by Dbug
Wed Oct 15, 2008 9:33 am
Forum: General Discussion
Topic: List of Oric software
Replies: 12
Views: 11832

Re: software list

Steve M wrote:I think Oric.org has become difficult to view, the way it is laid out.
Is there something in particular that causes problem ? My only real problem is that you have to be logged in to see the screenshots.
by Dbug
Tue Sep 23, 2008 9:31 pm
Forum: 6502 assembly coding
Topic: Clipped line routine
Replies: 20
Views: 26608

Hum, apparently the clipping code is correct, the +/- 1 is not in the clipper, but in the line drawer...
by Dbug
Tue Sep 23, 2008 6:49 pm
Forum: 6502 assembly coding
Topic: Clipped line routine
Replies: 20
Views: 26608

For the clearing routine, instead of erasing every 256 bytes, now I'm doing that instead: ldx #WIDTH loop lda buffer+LEFT+40*0,x sta $a000+LEFT+40*0,x lda buffer+LEFT+40*1,x sta $a000+LEFT+40*1,x lda buffer+LEFT+40*2,x sta $a000+LEFT+40*2,x ... lda buffer+LEFT+40*199,x sta $a000+LEFT+40*199,x dex be...
by Dbug
Tue Sep 23, 2008 9:35 am
Forum: 6502 assembly coding
Topic: Clipped line routine
Replies: 20
Views: 26608

Hehe :)

I will try to find out about why this +/- 1 pixel issue, and then try to adapt the code for filled polygons.

Yesterday I tried Driller and Total Eclipse on an C64 emulator, it's technically impressive, but extremely slow.

Wonder if we can achieve a better framerate :)
by Dbug
Mon Sep 22, 2008 8:42 pm
Forum: 6502 assembly coding
Topic: Clipped line routine
Replies: 20
Views: 26608

Ok, corrected version here: http://www.defence-force.org/ftp/forum/code_repo/rasterization/LineBench-5.zip Have to admit that the bug was absolutely ridiculous... and probably due to the lack of sleep... accumulated with the lack of testing. There was two errors, but second was never reached because...
by Dbug
Mon Sep 22, 2008 7:51 pm
Forum: 6502 assembly coding
Topic: Clipped line routine
Replies: 20
Views: 26608

Looks like a off by one error. Y0 est equal to CLIP_TOP, so it should not even enter the dichotomy clipping, should just accept the value and exit immediately. Will trace the code :) Most probably something totaly stupid. With some luck it's also the reason about why there is this additional random ...
by Dbug
Sun Sep 21, 2008 11:55 am
Forum: 6502 assembly coding
Topic: Improving the polygon routine...
Replies: 1
Views: 7449

Improving the polygon routine...

After turning around the problem in all directions, the only way I see that can lead to less flickering (due to the simulation of double buffering by drawing alternatively on odd and even lines) and better performance, is to draw all the pixels at the same time, without performing any overdraw (woul...
by Dbug
Thu Sep 18, 2008 8:18 pm
Forum: 6502 assembly coding
Topic: Clipped line routine
Replies: 20
Views: 26608

If you can provide me with the parameters you use for the frozen line, I can investigate this week end: clipping window, line coordinates :)

Thanks
by Dbug
Thu Sep 18, 2008 8:16 pm
Forum: Games
Topic: Transferring Tyrann UK
Replies: 9
Views: 9884

Ok, so it's like the "Fer d'Amnukor", it comes with a custom loader.
Crap ;p