Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #209982 : Transwarp v0.82
2021-10-03 18:31
Krill

Registered: Apr 2002
Posts: 2851
Release id #209982 : Transwarp v0.82

General Q&A thread, also report problems and error logs here.
 
... 70 posts hidden. Click here to view all posts....
 
2021-10-04 22:15
Zaphod

Registered: Jun 2012
Posts: 63
well te decrunch breaks tranwarp.

krill explains that this is because the decrunch table clobbers some of it's stuff.

anyway i thought i was beign clever with my lil asm, but of course the load overwrites my asm. which means i need to manually push an address ($080d) onto the stack and jmp into the load instead of JSR

so how do i do that? is it
lda #0d
pha
lda #08
pha
jmp $ffd5
2021-10-04 22:28
Krill

Registered: Apr 2002
Posts: 2851
I recommend to do something like i did in the intros of the 3 dual-load games.
This is from the Giana Sisters intro:
.C:0c20  A9 01       LDA #$01
.C:0c22  05 B9       ORA $B9
.C:0c24  85 B9       STA $B9
.C:0c26  A9 01       LDA #$01
.C:0c28  A6 BA       LDX $BA
.C:0c2a  D0 02       BNE $0C2E
.C:0c2c  A2 08       LDX #$08
.C:0c2e  A4 B9       LDY $B9
.C:0c30  20 BA FF    JSR $FFBA
.C:0c33  A9 0D       LDA #$0D
.C:0c35  A2 40       LDX #$40
.C:0c37  A0 01       LDY #$01
.C:0c39  20 BD FF    JSR $FFBD
.C:0c3c  A2 0C       LDX #$0C
.C:0c3e  BD 52 0C    LDA $0C52,X; name
.C:0c41  9D 40 01    STA $0140,X
.C:0c44  CA          DEX
.C:0c45  10 F7       BPL $0C3E
.C:0c47  A9 08       LDA #$08
.C:0c49  48          PHA
.C:0c4a  A9 0C       LDA #$0C; $080d - 1
.C:0c4c  48          PHA
.C:0c4d  A9 00       LDA #$00
.C:0c4f  4C D5 FF    JMP $FFD5
2021-10-04 22:52
Zaphod

Registered: Jun 2012
Posts: 63
i had that backwards.

i now have the file loading the next one and starting properly. this will load ANY packed main program, provided i has sys 2061 :)

and now to try and transwarp master.
2021-10-04 23:12
Zaphod

Registered: Jun 2012
Posts: 63
and g-packer broke the logo SOMEHOW.

it was fien before gpacker tried it.. hmmm...

yup. g-packer completely nurders it somehow. i can load it fine before packing it, and if i run the ml routine in the monitor, it works.

g-packer doesn't kill the transwarp either. but the graphics are corrupt, for no good reason.

i'll see if plush packer works...
2021-10-04 23:22
Zaphod

Registered: Jun 2012
Posts: 63
plushpacker didn't break the logo, but broke the transwarp. i used the fast packer.

g-packer breaks the logo, but doesn't break the transwarp. WAAAAGGGGHHHH!
2021-10-04 23:26
Krill

Registered: Apr 2002
Posts: 2851
A word about the new challenge:

As the last one was so swiftly and throughly beaten, i decided to make an effort this time.

The key is now 232 bits (29 bytes) big, provided as a passphrase string in the 4th load parameter.
LOAD"CHALLENGE",8,1,"SECRET KEY..."
The passphrase itself isn't used as the key. There is some kind of 8-bit ghetto key hashing performed first, hoping that known parts of the key will not make it easier to find the other parts of the key and ultimately the passphrase.

Note that both the encryption routine (C) and the decryption routine (6502 assembly) are open-source.

Happy hacking! =)
2021-10-04 23:36
Comos

Registered: May 2004
Posts: 71
Quoting Zaphod
well te decrunch breaks tranwarp.

krill explains that this is because the decrunch table clobbers some of it's stuff.



OK,understood,then try to relocate the decrunch table to $0500.You'll just see some garbage during depack,you can switch off the screen during that.
2021-10-04 23:54
Zaphod

Registered: Jun 2012
Posts: 63
ok i give up.

http://eunich.cochems.com/~zaphod/helpme.d64

two files on it

one is the logo, with my little ml routine i mentioned at the end of it.
the other is a 202 block monitor save of $08f0 to $D0A0, which is where the main vorpal file is.

my routine is as $7f3f

the logo must be called "koronis rift" and when transwarped must fit into tracks 19-21 (-r 19)

the main must be called "copyright 1985" and fit from tracks 16 to 7 (the docs do not say that -r counts backwards if it's under 18 for transwarp files) (-r 16)

no other space on the disk can fit transwarp files.

there should be no audio glitches, and the screen should bank after showing the logo (my routine does this)

transwarp itself can be fit anywhere else on the disk that's convenient (but not clobber anything else. i have a "blank" .d64 that has the blocks that should be allocated allocated, and the ones that should be free free.

JUST before 08f0 (08ed), there is a JSR $3187. this may or may not be used. it's easy enough to put back there.
2021-10-05 00:18
chatGPZ

Registered: Dec 2001
Posts: 11135
Quote:
$08f0 to $D0A0

doesnt that destroy the resident part of the loader?
2021-10-05 00:48
Krill

Registered: Apr 2002
Posts: 2851
The loader can't load to $d000+ anyways. I guess the program would be minimally packed* to end below $d000. It uses its own loader anyways.

* Meaning to just copy those $a0 bytes from below $08f0 to $d000. =)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Frostbyte/Artline De..
X-Raffi/X-Rated
Bitbreaker/Performers
Shake/Role
tlr
bexxx
kbs/Pht/Lxt
aNdy/AL/Cosine
Walt/Bonzai
Didi/Laxity
LDX#40
Twilight/Excess/Arcade
stephan-a
Alakran_64
Guests online: 127
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.088 sec.