English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 27 September 2005, 02:02   #1
redblade
Zone Friend
 
redblade's Avatar
 
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.
redblade is offline  
Old 28 September 2005, 11:17   #2
girv
Mostly Harmless
 
girv's Avatar
 
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.
girv is offline  
Old 28 September 2005, 22:45   #3
redblade
Zone Friend
 
redblade's Avatar
 
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
redblade is offline  
Old 29 September 2005, 08:31   #4
AmiGer
Registered User
 
AmiGer's Avatar
 
Join Date: Sep 2002
Location: Germany
Posts: 349
Can you please post the 1024 Bytes bootblock ? Maybe somebody can help you...
AmiGer is offline  
Old 29 September 2005, 16:14   #5
OddbOd
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.
OddbOd is offline  
Old 29 September 2005, 17:53   #6
mr_0rga5m
Tik Gora :D
 
mr_0rga5m's Avatar
 
Join Date: Oct 2001
Location: Round yo momma's
Posts: 1,273
Also can be found here .. (On Jolyons site)
mr_0rga5m is offline  
Old 29 September 2005, 22:55   #7
redblade
Zone Friend
 
redblade's Avatar
 
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.
redblade is offline  
Old 30 September 2005, 08:58   #8
AmiGer
Registered User
 
AmiGer's Avatar
 
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
Attached Files
File Type: zip Vector.zip (11.1 KB, 264 views)
AmiGer is offline  
Old 30 September 2005, 22:13   #9
redblade
Zone Friend
 
redblade's Avatar
 
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 .
redblade is offline  
Old 01 October 2005, 01:24   #10
mr_0rga5m
Tik Gora :D
 
mr_0rga5m's Avatar
 
Join Date: Oct 2001
Location: Round yo momma's
Posts: 1,273
Quote:
Originally Posted by redblade
I know about moving the mouse gave different affects but did not know about the numeric keypad.

Then you didnt boot the disk ..
Attached Thumbnails
Click image for larger version

Name:	ANC Utilities 21 (1988)(ANC).JPG
Views:	340
Size:	118.6 KB
ID:	9325  
mr_0rga5m is offline  
Old 01 October 2005, 10:04   #11
AmiGer
Registered User
 
AmiGer's Avatar
 
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 ???
AmiGer is offline  
Old 01 October 2005, 11:34   #12
mr_0rga5m
Tik Gora :D
 
mr_0rga5m's Avatar
 
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 ?
mr_0rga5m is offline  
Old 02 October 2005, 00:02   #13
Codetapper
2 contact me: email only!
 
Codetapper's Avatar
 
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...
Codetapper is offline  
Old 02 October 2005, 03:24   #14
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Quote:
Originally Posted by Codetapper
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...
Yep your pretty much 100% right there .

@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 :/.
redblade is offline  
Old 02 October 2005, 19:35   #15
AmiGer
Registered User
 
AmiGer's Avatar
 
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:
Originally Posted by redblade
Having trouble assembling it in AsmOne1.6
You could try phxasm instead...
AmiGer is offline  
Old 02 October 2005, 23:31   #16
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Quote:
Originally Posted by AmiGer
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...

You could try phxasm instead...
heh cheers dude, but i'm not a cracker , although a hacked version of roxbox would be nice hehe.

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.
redblade is offline  
Old 24 December 2005, 05:41   #17
redblade
Zone Friend
 
redblade's Avatar
 
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.
redblade is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:33.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13380 seconds with 16 queries