Search found 99 matches

by swapd0
Thu Oct 17, 2019 7:28 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

For that value In some parts it's .w in other ".l", the palette never it's accessed with .w ...
by swapd0
Thu Oct 17, 2019 6:48 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

The problem it's that, when it's accesses without .w it's stored as $00ff8606, if I expand the value to 32bits to have $ffff8606 the bin compare to test the disassembly will fail.

I've no idea how to fix it.
by swapd0
Thu Oct 17, 2019 3:03 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

Sorry, use this file, not the last one.
by swapd0
Thu Oct 17, 2019 2:58 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

- Weird register list fixed - labels at low memory are matched with hardware address before generation - About errors like this: error 2033 in line 1172 of "beast.s": absolute short address out of range > bclr #$0003,l000152.w Maybe it's because some address are like $00ff8240 instead of $...
by swapd0
Thu Oct 17, 2019 1:19 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

Which assembler are you using? I need to make my assembler more robust.
by swapd0
Thu Oct 17, 2019 10:37 am
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

This version has the labels with a ':' at the end.

About the last question... I need to think how to fix that, maybe tag each label with a size.
by swapd0
Thu Oct 17, 2019 8:24 am
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

For fun XD, Ok, I'll fix a bug and disassembly it again, yesterday I put the ':' at the labels.
by swapd0
Wed Oct 16, 2019 8:32 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

F*ck, I didn't save the project and there are some missing entry points, so the code it's generated with different labels.

If you have changed a lot of code, maybe it's better if you use an editor with regular expression to match a label at the start of a line and replace it with a ':' at the end.
by swapd0
Wed Oct 16, 2019 8:23 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

Yes, but maybe it will generate the code with different labels...
by swapd0
Tue Oct 15, 2019 4:52 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

First version was in BeOS, now it runs in Mac, the buggy GUI it's done in Interface Builder.
by swapd0
Tue Oct 15, 2019 3:51 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

Yes, I was lazy when I wrote the disassembler, anyway they are easy to fix.
by swapd0
Tue Oct 15, 2019 3:37 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

yeah, the movem it's in a weird format it's in my TODO list, and the cmp you have to include a '#', it looks that I've a bug in my disassembler and in my assembler XD.
by swapd0
Tue Oct 15, 2019 3:07 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

I forgot to include a jmp at the start (and change the org to X - 6), because the entry point it's at line 19002.
by swapd0
Tue Oct 15, 2019 2:53 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

I think that it's done, I've assembled it, I did a bin compare with MAIN.DPK and it's the same. By the way my assembler output GenST syntax style, not sure if it's compatible with vasm.
by swapd0
Mon Oct 14, 2019 11:21 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

It's possible executable can have some dead/unreachable code? Because I've some parts that it's code but I can't find a jump table neither a reference to it.
by swapd0
Mon Oct 14, 2019 6:36 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

Dbug wrote:Do you think you will manage to get a clean disassembly that can be rebuilt and optimized?

I'm working on it, at least I could fully disassembly Frontier some years ago.
by swapd0
Mon Oct 14, 2019 6:07 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

wow, the code has a lot of jump tables... still working on the disassembly...
by swapd0
Mon Oct 14, 2019 11:37 am
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

I got a doule bus error with Hatari 1.8 and the emulator hangs. I'm trying to execute the code to get the MAIN.DPK file, it's supposed that the file it's loaded and depacked to $55000 and the start address it's $6AABA, isn't it?
by swapd0
Sun Oct 13, 2019 12:45 pm
Forum: Games - General
Topic: shadow of the beast ST (Mark mc cubbin here)
Replies: 97
Views: 30197

Re: shadow of the beast ST (Mark mc cubbin here)

Where can I find an executable to disassembly? I've several versions but they are protected/packed and it's hard to execute into MonST and then save the binary before the game start.
by swapd0
Thu Jul 25, 2019 6:05 pm
Forum: C / PASCAL etc.
Topic: How can Pure C do that?
Replies: 13
Views: 1443

Re: How can Pure C do that?

These are systems calls, usually functions with a path works like this
1 open the file & get the handler
2 call the function with that hander
3 closes the file
4 profit.. err, return the value/info

S.O. prefer to work with handlers instead of path.
by swapd0
Thu Jun 27, 2019 3:42 pm
Forum: Hatari
Topic: Underscore character
Replies: 6
Views: 6806

Re: Underscore character

I've tried many times to configure the keyboard for Hatari with no luck, always have some missing symbols (like #) that are a must if you want to code in asm.
by swapd0
Tue Jun 25, 2019 6:47 am
Forum: 680x0
Topic: LZ4 decoder (assembler)
Replies: 48
Views: 18464

Re: LZ4 decoder (assembler)

I thought that with nrv2b you get the best compression ratio, at least I've better ration than lzo, lz77 & lz78. But with small files I need to use other algorithm.
by swapd0
Mon Jun 24, 2019 7:05 am
Forum: 680x0
Topic: LZ4 decoder (assembler)
Replies: 48
Views: 18464

Re: LZ4 decoder (assembler)

I'm using the following command to pack the data files. upx -q --nrv2b --small --data infile -ooutfile a0 packed data a1 destination addresss ;UPX unpack routine (NRV2B only!) (--best) ;================== ; ;Usage: a0 = start of data ; a1 = destination address ; ;Associated files: Make_prg.s Make a ...
by swapd0
Tue Jun 11, 2019 11:11 am
Forum: Games - General
Topic: Re: 3 Part Warren Robinett interview
Replies: 2
Views: 1501

Re: 3 Part Warren Robinett interview

I wonder when he's going to release "The Annotated Adventure" ebook.

Go to advanced search