English Amiga Board Mobile
Coders. Asm / Hardware>My super simple cross development tool chain - build and run in 15 seconds
xxxxx 08:57 31 January 2012
After being off the Amiga since the mid '90s, I decided to try coding on it again. I wanted to do my development on PC and test in WinUAE, and I didn't find any complete setups for this, so I put together what is (in my own opinion) a slick, foolproof tool chain that makes it easy to get started.

The steps are super simple:
1. download the package from rapidshare. https://rapidshare.com/files/1304660...oolChain_1.zip
2. copy kick13.rom, kick204.rom and kick30.rom into the WinUAE subfolder
3. run build.bat
4. run runa500.bat, runa500plus.bat or runa1200.bat

and voila, you have assembled a piece of code and have it running.

Features:
1. No weird configurations needed - it just works! The bat-files set their environments as needed, everything is using relative paths, and UAE is pre-configured for A500, A500Plus, and A1200.
2. Sample code uses a nice, system-friendly startup code (from Comrade J of SAE, with a few bugfixes to make it run a500, and properly check for pal/ntsc)
3. Sample code includes The Player 6.108 - the best music player out there.
4. Uses VBCC/VAsm/VLink, using Kusma's toolchain.
5. Shell demonstrates how C and asm-files can talk back and forth
6. Contains HowToCode7, which I restructured as a PDF-file, because I couldn't find a PDF online. (Direct Link to HowToCode7.pdf: https://rapidshare.com/files/672015758/HowToCode7.pdf)
7. Contains a solution for Visual Studio 2010, if you (like me) like the interface - but it's not required

Please report ANY problems/issues/feedback in this thread, and I will try to accommodate before future builds
[Rep]
xxxxx 17:53 03 February 2012
Version 2 is out - lots of improvements - here are the largest

Toolchain:
Starting protracker (2.3d, 3.15, 3.62) is now another one-click feature, as is the p61 converter tool
added a wav to raw conversion bat-file, so tracking should be easy for everyone
A4000_40 configuration
batch files work both with amigaforever and traditional roms
fixed configuration problem in setpaths
moved as many files out of the root folder as possible, to keep it cleaner

Startup Code
VBlank Interrupt added
Added flag to block multitasking (old-school mode), which also blocks blitter
added flag to disable cache (for self-modifying code)
Added an input handler to properly block input fallthrough

Get it here: https://rapidshare.com/files/3850140...oolChain_2.zip
[Rep]
Akira 19:03 03 February 2012
Man, I loved this. Found it on Pouet a couple of days ago.
It will prove very useful in my learning of Amiga programming that I want to embark upon this year.

Thank you so much.
It's a shame you are hosting this on services like Rapidshare, perhaps you want some hosting space? I could provide you with some, and also some little web space for a blog or whatever if you feel like it.
[Rep]
chiark 20:59 03 February 2012
I'll give this a try - will save a little bit of messing around, so thank you!
[Rep]
xxxxx 06:29 04 February 2012
@akira: thanks for the offer, but I am good, I just need to post it to scene.org. I was just waiting for the first 2-3 releases and the related bug reports and fixes before doing it
[Rep]
Vedder 08:52 08 February 2012
This sounds really cool for me who don't know how to code but wants to learn. But I have a problem.

If I don't have Visual Studio, how do I or where do I or what do I start to be able to start coding?

This might be something that is obvious to most people or at least people who know how to code already. Or maybe I'm missing something obvious, like "you need to have another program to code in".

/vedder
[Rep]
xxxxx 05:39 09 February 2012
Here is the final release (for now): https://rapidshare.com/files/2789918...oolChain_3.zip

Major Changes:
Now works with winuae's built-in Aros rom. You don't even need kickstart anymore! Just click build.bat and runaros.bat to build and run your code.
3 major code fixes to fix my stupid errors when merging different startup codes together

Feel free to upload this to other sites. I tried to upload to various places, but aminet has corrupted the zipfile, scene.org still has the file in its' incoming directory, and untergrund.net has not approved my account request yet. My goal is that once I have a proper location for this, I will register a pouet.net prod, and that is where I invite everybody to write their comments/bugs/feature requests.
[Rep]
xxxxx 06:41 16 February 2012
V4 is out - it can be found here: http://www.pouet.net/prod.php?which=58703. Please post comments there
[Rep]
hypnoshock 01:37 01 May 2012
Thought I'd mention that I've been having a blast with this and that I really appreciate this tool chain!

I haven't tried the visual studio integration yet but have been getting on o.k with Notepad++ and assigning the batch files to shortcut keys within Notepad++

I've been learning ASM via this forum (Mostly from Blippym's diary thread) and this toolchain has made it simple to try out new bits of code without having to fire up WinUAE and wait for devpac to load. I really liked the inclusion of the startup routine which helped me get straight in and start coding without having to worry about the daunting task of writing my own.

Again really appreciate this :-D

I even used it to assemble and run the Bullfrog ASM tutorial published in Amiga Format.

~ Hypno
[Rep]
WayneK 16:46 01 May 2012
"...without having to fire up WinUAE and wait for devpac to load."

Why not just save a UAE snapshot of everything, then you can almost instantly be ready to code?! Also why use devpac? :-)
[Rep]
hypnoshock 00:28 02 May 2012
Haha good point R.E Devpac... well the hint was in my post where I said 'Bullfrog ASM tutorial' so you can probably gauge what level I'm at.

I'm still at the brain melting stage of learning and still having to stop myself from asking why exactly I'm putting myself through this ;-D
[Rep]
pmc 08:36 02 May 2012
Originally Posted by WayneK:
Also why use devpac?
Originally Posted by hypnoshock:
Haha good point R.E Devpac...
Errrr, no. It's not a good point re: Devpac. It's Wayne indulging in his usual bashing of my choice of assembler. :-)
[Rep]
hypnoshock 00:59 03 May 2012
Ha.. sorry PMC, I thought that perhaps Devpac wasn't the tool of choice anymore and that it emphasised my noob status. I suppose as long as I'm not using SEKA we're alright right?

Look brothers, let's not fight amongST ourselves here.. surely if there were any bashing to be done it could be aimed at more worthy opponents.. Not saying who here... but clue in the sentence.. ahem ;-D (ahh the good ol' days)
[Rep]
Jasmin68k 03:18 22 June 2012
Personally, I am only using the included startup code in ASMPro on a real Amiga.

It includes some nice fixes and additions to the good old HowToCode7 StartUp code and works very well, in some respects better than others.

So although I don't use the cross-dev part of it, it's still much appreciated. Thanks a lot!
[Rep]
bubbob42 22:29 07 October 2012
I just stumbled over this and couldn't believe how easy it was to set up. It'll help me a lot to get my old 90s-stuff working on my recently resurrected RTG-A4k.

The only bad aspect is, that it might reduce the A4k to a testing machine, since debugging on the PC is well....comfortable. :-)

Thanks a lot!
[Rep]
Up

Page generated in 0.16924 seconds with 11 queries