31 January 2012, 08:57 | #1 |
Registered User
Join Date: Jan 2012
Location: N/A
Posts: 38
|
My super simple cross development tool chain - build and run in 15 seconds
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 . https://.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://.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 Last edited by xxxxx; 31 January 2012 at 12:56. |
03 February 2012, 17:53 | #2 |
Registered User
Join Date: Jan 2012
Location: N/A
Posts: 38
|
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://.com/files/3850140...oolChain_2.zip |
03 February 2012, 19:03 | #3 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,665
|
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 , 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. |
03 February 2012, 20:59 | #4 |
Needs a life
Join Date: Jan 2008
Location: England
Posts: 1,707
|
I'll give this a try - will save a little bit of messing around, so thank you!
|
04 February 2012, 06:29 | #5 |
Registered User
Join Date: Jan 2012
Location: N/A
Posts: 38
|
@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
|
08 February 2012, 08:52 | #6 |
Posts: n/a
|
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 |
09 February 2012, 05:39 | #7 |
Registered User
Join Date: Jan 2012
Location: N/A
Posts: 38
|
Here is the final release (for now): https://.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. |
16 February 2012, 06:41 | #8 |
Registered User
Join Date: Jan 2012
Location: N/A
Posts: 38
|
V4 is out - it can be found here: http://www.pouet.net/prod.php?which=58703. Please post comments there
|
01 May 2012, 01:37 | #9 |
Posts: n/a
|
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 |
01 May 2012, 16:46 | #10 |
Registered User
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 366
|
"...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? |
02 May 2012, 00:28 | #11 |
Posts: n/a
|
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 |
02 May 2012, 08:36 | #12 | ||
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Quote:
Quote:
|
||
03 May 2012, 00:59 | #13 |
Posts: n/a
|
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) |
22 June 2012, 03:18 | #14 |
Registered User
Join Date: Oct 2011
Location: At home :)
Posts: 18
|
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! |
07 October 2012, 22:29 | #15 |
Registered User
Join Date: Oct 2012
Location: Germany
Posts: 585
|
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! |
19 February 2015, 13:06 | #16 |
Moon 1969 = amiga 1985
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,914
|
no chances to have an update ?
|
20 February 2015, 03:28 | #17 |
Registered User
Join Date: Jan 2012
Location: N/A
Posts: 38
|
is anything missing? I don't update unless there is a good reason
|
20 February 2015, 17:08 | #18 |
I Identify as an Ewok
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,356
|
Holy crap, that's well impressive! I might have to learn Asm using this from now on instead of Devac 3 under WinUAE. Thank you very much! I've tried it in Visual Studio and it runs perfectly using the 'Local Windows Debugger' tool/icon. Wasn't expecting that. Really nice work. Is it possible to get colour coded keywords like in C/C++ code? For example have the comments in green and commands blue or something?
|
20 February 2015, 19:40 | #19 |
Registered User
Join Date: Jun 2014
Location: milan / italy
Posts: 174
|
What do you mean? Could you debug remotely, from inside VS symbolic debugger, the code running on the emulated Amiga?
|
21 February 2015, 02:25 | #20 |
Registered User
Join Date: Jan 2012
Location: N/A
Posts: 38
|
As a matter of fact, I have set up syntax highlighting for myself (a fairly accurate solution), but have not packaged it up in a useful format yet.
No, no debugging inside visual studio - but hitting f5 launches winuae and launches the assembled program |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Competition: Chain Game | Galahad/FLT | EAB's competition | 19 | 28 June 2013 20:13 |
2D, Gun and Run, Side scroller, similar to Super Probotector/Contra 3, brain boss. | Gravox | Looking for a game name ? | 2 | 08 February 2010 04:55 |
a problem on scsi-chain | Bamiga2002 | support.Hardware | 15 | 28 October 2009 16:09 |
A little simple tool | zeGouky | project.Sprites | 7 | 05 November 2005 21:52 |
Eclipse-Plugin for Amiga-Cross-development | Paul | News | 1 | 04 September 2004 17:36 |
|
|