08 July 2009, 22:30 | #201 | |
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
Quote:
However, I'd rather release full versions, i.e. a standard disk version using .adf files and a pre-installed HD-version. If these could be hosted on the Thalion Webshrine, that would be great. |
|
09 July 2009, 11:16 | #202 | |||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,337
|
Quote:
Quote:
Sure Quote:
Quote:
Quote:
Anyway this is how the game works and it isn't very important to me. |
|||||
11 July 2009, 00:00 | #203 | |
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
I'm not willing to share my code yet.
Two more weeks. Seriously, I've been working on this for only a few months now. Not every day nor every week. I didn't do anything in the whole of May IIRC. It's a hobby project and I not only need to be in the right mood to tackle it, but I also need the time esp. for the more complex things. As I said before, there are a few things I definitely want to be done before I will consider release. And I'm simply not there yet. Quote:
Not yet. I have a hunch on why it happens, though. I will look into it. |
|
12 July 2009, 12:55 | #204 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,337
|
It may well be because there is no code at all
Quote:
Please reconsider a partial release, even just a few data files. Quote:
Something not correctly erased, probably. |
||
12 July 2009, 16:28 | #205 | |
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
Are you calling me a liar?
Quote:
And you don't have to worry that I will drop this project. I've invested too much time into it by now and want to see it completed. And I sure want to get all the fame for doing it. (LOL!) Here are the relevant lines from Am2_CPU: Code:
... lbC006C0E: MOVE.W (lbW05EF24).L,D0 006C14 CMP.W #$0000,D0 006C18 BEQ.W lbC006C82 006C1C CMP.W #$0007,D0 006C20 BEQ.W lbC006C82 006C24 BTST D0,#????$0E ; illegal instruction $013C060E 006C28 BEQ.W lbC006C5E ... 01DACE MOVE.B ($001A,A0),D0 01DAD2 CMP.B #$06,D0 01DAD6 BPL.W lbC01DB1A 01DADA MOVE.B (A0),D2 01DADC BTST D0,#????$2A ; illegal instruction $013C002A 01DAE0 BEQ.B lbC01DAE6 ... 01DCB6 MOVE.B ($001A,A0),D0 01DCBA CMP.B #$06,D0 01DCBE BPL.B lbC01DD10 01DCC0 MOVEA.L A0,A1 01DCC2 MOVE.B (A1),D2 01DCC4 BTST D0,#????$2A ; illegal instruction $013C002A 01DCC8 BEQ.B lbC01DCCE ... Last edited by st-th; 12 July 2009 at 16:33. |
|
13 July 2009, 10:38 | #206 | |||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,337
|
You don't want to give out anything, and you must have a very good reason for this. So, yes, I suspect (which means I'm far from being sure) you have nothing at all and are just talking. You wouldn't be the first one to do that !
Quote:
Quote:
Quote:
Code:
BTST D0,#$60E ; 013C 060E BTST D0,#$2A ; 013C 002A But there is a bug here, as BTST operates on bytes. $60E is instead treated as $0E. |
|||
13 July 2009, 14:23 | #207 | |||
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
Quote:
Quote:
Quote:
The latter two of the three excerpts I gave should obviously be "btst d0,d2", as any decent 680x0 programmer should realize immediately. That's why I gave the leading lines as context. |
|||
13 July 2009, 15:17 | #208 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 2,017
|
You are wrong bittest instructions like: btst D0,#6 are legal instructions, I'm using this style instructions (idea by Gaelan Griffin) in my audio device players (for example MaxTrax). And it works OK.
|
13 July 2009, 15:40 | #209 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
13 July 2009, 15:54 | #210 | |
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
Quote:
Why don't you use "btst #6,d0"? |
|
14 July 2009, 13:27 | #211 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 2,017
|
This is not btst for absolute memory locations, this is btst for choose left (bit 0 or 3) or right (bit 1 or 2) channel, easy to check with EP or DT. This was strange instruction for me, when I seen this code first time in Gaelan Griffin Music-X Driver source code. But it works OK, AsmOne can assemble this instruction too.
|
14 July 2009, 13:32 | #212 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 2,017
|
Because I checked (in one command) if D0 bits are 1/2 (for right channel) or D0 is 0/3 (for left channel). I don't want to check 6 bit in D0.
|
14 July 2009, 13:53 | #213 | |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
Edit2: Checked with different ASM1 version which indeed assembles it. The instruction still doesn't make any sense to me. Edit: saw your reply to st-th. So if you don't want to check bit #6 in d0, what is your instruction actually supposed to do? Can it be that you're confusing btst with bftst? That's the only idea I have. As btst your instruction is illegal! Last edited by StingRay; 14 July 2009 at 14:01. |
|
14 July 2009, 14:16 | #214 | |
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
No. Immidiate is only valid for source, check any official 680x0 reference.
Quote:
Code:
; bits 0-3 of d0 contain ; the audio channel bits andi.b #2+4,d0 bne.b right_channel left_channel: ... |
|
14 July 2009, 14:21 | #215 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
should be 2+7 or (1<<3)|(1<<0) rather if he wants to check bits 0/3 only but other than that that's how I would do it too.
|
14 July 2009, 14:32 | #216 | |
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
Quote:
Many disassemblers only look at bit patterns when trying to decode something. SAS/C's OMD and CPR produce the illegal instructions maynef posted, as well. Resource recognizes them as illegal as does the old "dis" I still use. It's illegal, plain and simple. Even if an assembler accepts it and the disassembler you use gives you the same instruction as output doesn't mean the CPU will do what you think the instruction does. Might work on one model, fail on the other. Might work on one chip revision, fail on the other. |
|
14 July 2009, 15:14 | #217 |
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
To support my point:
Code:
SECTION text,CODE moveq #1,d0 ; set bit #0 btst d0,#0 ; "test" bit #0 seq d0 ; unset=$ff, set=$00 rts ; surprise! END |
14 July 2009, 15:19 | #218 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
14 July 2009, 15:29 | #219 |
Bad Taste Development
Join Date: Jul 2008
Location: Bonn / Germany
Age: 52
Posts: 48
|
|
14 July 2009, 21:07 | #220 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 2,017
|
Quote:
btst D0,#6 is equal for example as moveq #6,D1 btst D0,D1 I don't know if this one instruction is fastest than two other examples, but can be if stack is used for D1. This one has sense (one data register is free). No sense for me has for example: movem.l ,-(SP) or movem.l (SP)+, and both instructions are valid. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ambermoon Soundtrack CD | T.R.Schmidt | Amiga scene | 14 | 20 October 2021 19:14 |
Ambermoon | rmcin329 | support.Games | 17 | 27 December 2010 22:59 |
Need help in Ambermoon | tralli | support.Games | 3 | 05 December 2010 21:01 |
Ambermoon | PiCiJi | HOL data problems | 34 | 22 May 2008 14:42 |
|
|