Search found 3344 matches

by Dbug
Tue Sep 15, 2009 5:17 pm
Forum: Games
Topic: Impossible Mission
Replies: 147
Views: 182833

Twilighte wrote: bgbuffer row tables(300 bytes) with code(~64 bytes) which saved a few bytes and doesn't appear to have made any difference to speed.
Is that the zero page code you were asking about?
by Dbug
Mon Sep 14, 2009 6:14 pm
Forum: 6502 assembly coding
Topic: XA formatted Zero Page Routine
Replies: 1
Views: 7854

Something like that perhaps ?

Code: Select all

#define ZERO_START $50
 .zero
*=ZERO_START 
ZeroStart
 .(
   lda #23
   sta $bb80
   rts
 .)
ZeroEnd

 .text

CopyToZero
 .(
 ldx #ZeroEnd-ZeroStart
.loop
 lda ZeroStart,x
 sta ZERO_START,x
 dex
 bcc .loop
 rts
 .)
by Dbug
Fri Sep 11, 2009 5:36 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 304788

There is actually another solution, but it requires a number of special case testing plus an interpolation. The idea is to search for the highest vertex of the triangle ABC. This are actually three different cases to consider: - One vertex is higher than the two others - Two vertices have the same p...
by Dbug
Wed Sep 09, 2009 5:20 pm
Forum: C programming
Topic: OSDK and DOSBOX
Replies: 7
Views: 13042

Don't bother with a full featured IDE, any simple text editor that supports external makefiles/tools would work fine. If you can find a text editor with: - Syntax coloring for C - Syntax coloring for assembler - Keyboard shortcut to run "osdk_build.bat" (with the output messages correctly displayed ...
by Dbug
Tue Sep 08, 2009 9:06 pm
Forum: C programming
Topic: OSDK and DOSBOX
Replies: 7
Views: 13042

Well, the only suggestion I could do is to not use dosbox at all since the Osdk main system is Windows XP. When you say 'portable environnement', what do you mean exactly, could you describe what you are trying to do? You can connect on the Oric chat if you want, we are currently online. http://www....
by Dbug
Tue Sep 08, 2009 6:15 pm
Forum: C programming
Topic: OSDK and DOSBOX
Replies: 7
Views: 13042

Try with Wine instead of DosBox. The OSDK has been compiled as Win32 console applications, not DOS applications. You can find more about how to use the OSDK with Wine in the documentation folder: osdk/documentation/doc_installation.htm#LinuxInstall I've been using it myself on my eeePc under Ubuntu ...
by Dbug
Fri Sep 04, 2009 11:07 am
Forum: General Discussion
Topic: 'Elite' forum
Replies: 1
Views: 3771

'Elite' forum

I wanted to compute the average number of messages per day on my forum, so I used a website to compute the number of days between january 6th 2006 and today; and then divide the number of messages (3854) by this. The result is interesting: http://www.timeanddate.com/date/durationresult.html?d1=6&m1=...
by Dbug
Fri Sep 04, 2009 9:52 am
Forum: Technical questions
Topic: Reading the Keyboard
Replies: 44
Views: 32070

Well, the idea was to have two matrix, the 'prev' and the 'curr', so basically you can query the status of keys on two frames, just return the result of PREV or CURR :) If two frames is not enough, I guess we can afford to store the status for more frames, but then it will probably be annoying to ha...
by Dbug
Fri Sep 04, 2009 9:39 am
Forum: Cross development tools
Topic: Label File display utility for XA
Replies: 8
Views: 11316

I think his issue was to locate routines or tables that are not actually used at all. And you can locate them because nothing in the code is refering to the label.
by Dbug
Thu Sep 03, 2009 9:41 pm
Forum: Technical questions
Topic: Reading the Keyboard
Replies: 44
Views: 32070

Timothy walked across the long, long dessert with his friends by his side, the water they had brought quickly ran out and gradually, one by one his friends either fell behind him or found refuge in the many ice cream vans on either side of his path. However Timothy continued believing only his path...
by Dbug
Thu Sep 03, 2009 1:52 pm
Forum: Technical questions
Topic: Reading the Keyboard
Replies: 44
Views: 32070

Not sure about why we have to compute a bitpos and byte ? The idea is just to have a in-memory copy of the keyboard matrix state, so basically 8 bytes of 8 bits each, so technically one if the column value, and one is the row value, and that's about it, no ? Something like that: PrevTableMatrix .dsb...
by Dbug
Thu Sep 03, 2009 12:17 pm
Forum: Technical questions
Topic: Reading the Keyboard
Replies: 44
Views: 32070

The basic idea I had was to have two main matrix tables representing the instant state of the keys as read by the IRQ. For 64 potential keys, that's 8 bytes for each table. When the IRQ triggers, it updates the "new keyboard state table". The previous content is in the "previous keyboard state table...
by Dbug
Thu Sep 03, 2009 9:02 am
Forum: Hardware hacks and extensions
Topic: Bytes transfer
Replies: 2
Views: 5137

Depends about what the question is exactly. Do you want to send an exact binary image of the floppy, with synchros, gaps, etc... or just the content of tracks and sectors ? Both the microdisc and jasmin disc drives are using standard Western Digital floppy disc controllers, so basically the disc for...
by Dbug
Sat Aug 29, 2009 10:30 am
Forum: Games
Topic: Stardom for our authors ? :-)
Replies: 6
Views: 8426

I really think RetroGamer should review the activity on the Oric, with the two big released games (Pulsoids and Space:1999) there is a clear view of what is the current state of the art, and gives a good indication of the level of quality and dedication put in the games to come (Tine, IM, Swiv, ...)...
by Dbug
Sun Aug 23, 2009 11:18 am
Forum: Games
Topic: Impossible Mission
Replies: 147
Views: 182833

Gratulerer med dagen :)