27 September 2005, 02:02 | #1 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
Basic Vector Code wanted
Hi.
ER does any one have any basic Vector code in asm which they would like to pass my way please . On a boot block of a ANC disk, there is a 1k vector intro, but the boot block seems to be compressed so am having trouble trying to dissassemble the boot block. |
28 September 2005, 11:17 | #2 |
Mostly Harmless
Join Date: Aug 2004
Location: Northern Ireland
Posts: 1,109
|
You could always, oooh I dunno, decompress it maybe? If you're able to understand vector code just from disassembly you're able to run it through a simple decompressor first...
Check on Aminet - ISTR there was some simple example vector code on there. |
28 September 2005, 22:45 | #3 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
hey matey I'm having trouble dissassembling the boot block. I can make out some of the code ie where it allocates memory, and then where the program jumps to.
but when I use the 'g' command on the arc to jump to that addy it just does a rainbow effect and i have to reset WinUAE. I'll have a look at aminet again. Also yes I do have that vectors.txt that comes on one of 'the source' compilations but I suck at coding, and just can't code from scratch, unless it's something easy like 'hello world', opening a screen and a window, etc etc. btw: the vector code I want is that 3d gfx stuff, not the hardware vectores ie $6c.w |
29 September 2005, 08:31 | #4 |
Registered User
Join Date: Sep 2002
Location: Germany
Posts: 349
|
Can you please post the 1024 Bytes bootblock ? Maybe somebody can help you...
|
29 September 2005, 16:14 | #5 |
Registered User
Join Date: Jul 2005
Location: Australia
Age: 46
Posts: 666
|
How to code vector demos on a MC68000 by Asterix of Movement
It's a tutorial with example sources at the end, should be a good enough starting point. |
29 September 2005, 22:55 | #7 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
Hi I mentioned I had that file that yous mentioned in post #3, as I got it from 'the source' disks, from one of those 'how to code' tutorials.
@AmiGer. Hey matey uploading the disk now, its ANC utilities disk #21, it'll be in the zone. |
30 September 2005, 08:58 | #8 |
Registered User
Join Date: Sep 2002
Location: Germany
Posts: 349
|
Here we go...
the trick is, that this isn't a 1k bootblock, it makes a DoIO-read and reads $1000 bytes from the offset $400 and executes this at the absolute address $24ed8. I post the complete source, IRA config file and binary for you. Have fun. BTW: I found out that you can change some vector parameters by moving the mouse and pressing keys on the numeric keypad... nice ira -binary -a -offset=24ed8 -config vector2 |
30 September 2005, 22:13 | #9 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
Cheers Matey .
I know about moving the mouse gave different affects but did not know about the numeric keypad. Cheers . |
01 October 2005, 01:24 | #10 | |
Tik Gora :D
Join Date: Oct 2001
Location: Round yo momma's
Posts: 1,273
|
Quote:
Then you didnt boot the disk .. |
|
01 October 2005, 10:04 | #11 |
Registered User
Join Date: Sep 2002
Location: Germany
Posts: 349
|
For me I didn't boot the disk.
I've seen the keyboard handler in the source... But who reads so much text ??? |
01 October 2005, 11:34 | #12 |
Tik Gora :D
Join Date: Oct 2001
Location: Round yo momma's
Posts: 1,273
|
yea same here .. i found it before i booted the disk too.
so redblade, you done anything with the source yet mate ? |
02 October 2005, 00:02 | #13 |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
|
No offense, but if you get stuck disassembling a 1k bootblock which just does a few simple DoIO commands, you are unlikely to get anywhere with a full on program using the blitter to draw vectors...
|
02 October 2005, 03:24 | #14 | |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
Quote:
@Mr_Orgasm: not much, Having trouble assembling it in AsmOne1.6, the first error was with the ABSEXECBASE equate. got that fixed, just did a replace to $4, but it should of worked without that. it just seems to be some label problems with assembling it :/. |
|
02 October 2005, 19:35 | #15 | |
Registered User
Join Date: Sep 2002
Location: Germany
Posts: 349
|
redblade, don't hurry, every amiga cracker has once started to use miggy assemblers and disassemblers. I think it's really cool that a 21 old guy is doing this...
Quote:
|
|
02 October 2005, 23:31 | #16 | |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
Quote:
nah just want to see some of my own vectors rotating in a screen in front of me, that all like a cube/stealth bomber etc. |
|
24 December 2005, 05:41 | #17 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
http://groups.google.com/group/alt.s...0b57c9bf725ecf
managed to find some vector code on google Groups. Good old google groups, lots of interesting posts on there. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Basic help wanted | alphagemini | Coders. General | 6 | 07 March 2013 22:35 |
Hi Soft Basic help wanted | alphagemini | Coders. General | 4 | 11 January 2013 11:39 |
Hi Soft Basic help wanted | alphagemini | Coders. Scripting | 10 | 13 September 2012 12:43 |
Coder in Blitz Basic wanted | Cosmos | Coders. General | 3 | 04 August 2010 10:44 |
3D code and/or internet code for Blitz Basic 2.1 | EdzUp | Retrogaming General Discussion | 0 | 10 February 2002 11:40 |
|
|