11 April 2018, 17:35 | #1 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
Development Tools
I've long been an advocate of using Devpac for Amiga development.
However the short stint I had working for a developer decades ago had me writing 6502 code on an Atari ST which I was then able to compile and pump down a serial cable from the ST to a C64. the C64 had some sort of memory resident boot strap that just waited for code to come from the ST and it would magically execute it. Obviously the nice thing about it was that the dev environment wasn't running on the C64 so it wouldn't matter memory got trashed. Although I love Devpac, it does have it's limitations as an IDE and after my current project I'd like to move onto something a bit better. Does the Amiga have anything similar, perhaps something virtual that can be used between WinUAE and Windows / Notepad++ etc. I'm sure this must be a common thing but I'm really out of touch on this sort of stuff so would like to get up to speed. Any help is really appreciated. Thanks, Graeme |
11 April 2018, 18:05 | #2 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
|
11 April 2018, 18:10 | #3 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
You Beat me I was in a tunnel
|
12 April 2018, 01:16 | #4 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
As it is based on vbcc/vasm I should mention that they improved a lot since 2015...
To answer the original question: It's really not difficult to set up a cross assembler like vasm (which is nearly 100% Devpac compatible) to compile on any host OS you want. Just let the assembler write its output into a directory mounted by UAE as an Amiga-disk. My cross development environment includes some portable tools in C for graphic- (bmp to raw), sample- (wav to raw), map- (TilEd tmx to game-internal) conversion, and a Makefile which directly creates a working ADF to test in UAE. |
12 April 2018, 08:20 | #5 |
Registered User
Join Date: Sep 2008
Location: Gainesville U.S.A.
Posts: 771
|
This post outlines a way to use VASM to talk to various emulators. Here is a little 7 sec. video (wmv) using similar method with WinUAE. This example starts itself. WinUAE window never gets focus to load, type or anything else.
What was changed: Code:
; Section Cube2,code_c ; original org $40000 ; change to absolute code start ... rest of code org $64 ; divert this interrupt dc.l start ; don't care about returning |
12 April 2018, 09:47 | #6 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
12 April 2018, 10:42 | #7 |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
|
I use VASM (which is maintened by our PHX here in this forum and thread ) which assembles into a file that is in a folder that I configured as an HD in UAE.
So I just have an A500 running in UAE with this HD, edit and assemble my asm code in Mac OS X (should be the same in Windows), and test it in UAE immediately.. If the Amiga crashes, I just reload a state just before pressing "Return" in the shell I opened up in the Amiga environment with the name of my program already entered in there. Works like a charm, and is super fast. |
12 April 2018, 11:34 | #8 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
I'm not sure what you mean. The cross development environment is usually a good shell (so Windows is no option for me) and a Makefile.
I wrote all the conversion tools myself (some are included in the public Solid Gold source release), so they are really portable ISO-C99 and don't depend on lots of other bloated, mostly useless, libs. All tools, game graphics/sounds/sources and the resulting ADF are built with a single "make" on any host OS. |
12 April 2018, 11:45 | #9 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
You have satisfied my request, I'll dig into Solid Gold sources. Thanks. |
|
12 April 2018, 11:56 | #10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
|
|
12 April 2018, 12:06 | #11 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
I usually use cygwin or code::blocks/mingw on windows (only support tools and not direct Amiga dev, but i've a cross gcc working system..). EDIT: well, actually only asm on Amiga, is much more fun (and for some strange masochistic reason I also use devpac most of the time ) Last edited by ross; 12 April 2018 at 12:15. |
|
12 April 2018, 12:21 | #12 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
I use vbcc, vasm, vlink and a good editor, Atom or Sublime Text usually.
I build the program with a makefile and a single key-press in the editor (usually no need for Bash or other shells) then swipe to the other desktop where the emulator is set up to run the program automatically. If I need some little tool I usually write it in Python. Easy to set up, and very comfortable. |
12 April 2018, 12:52 | #13 | |
Registered User
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 365
|
Quote:
However like you, I'm a masochist and 99% of the time use "IFF Converter" under emulation, and code/assemble in Asm-One :P |
|
12 April 2018, 13:33 | #14 |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
|
if you use bmptoraw, this is a typical command line for a masked asset in mac os x....
./tools/bmptoraw innviya/graphics/assets/src/walkerbomb.bmp 192 32 3 MASK >innviya/graphics/assets/walkerbomb.bin This is 192 pixels wide, 32 high, and uses 3 bitplanes (8 colors), plus is masked. You can find the mask-bob starting at byte (192/8)*32*3 .. If you want to create a sprite from a bmp ./tools/bmptoraw innviya/graphics/assets/src/fancySpaceShip.bmp 16 32 2 SPRITE >innviya/graphics/assets/fancySpaceShip1.bin ->attached<-: ./tools/bmptoraw innviya/graphics/assets/src/fancySpaceShip.bmp 16 32 4 SPRITE innviya/graphics/assets/fancySpaceShip1.bin innviya/graphics/assets/fancySpaceShip2.bin ..would do the trick.. Please notice there is no ">" when creating attached sprites.. Last edited by Tigerskunk; 12 April 2018 at 13:38. |
09 February 2019, 00:27 | #15 |
Registered User
Join Date: Jul 2017
Location: Oxford
Posts: 104
|
Hi all, just stumbled upon this thread. I would really like to move on (ie complete) with a game I am porting. I wonder what you people use under OSX for:
1) editing 68k asm code. I've found Atom has some basic support, but something with autocompletion would be much better. 2) debugging the executables. FS-UAE has a pretty decent debugger, but I couldn't manage to keep debug info in the executables. This would make debugging waaay simpler (and faster) than what I'm doing now (breakpoint on weird memory locations accesses). Any info / help would be greatly appreciated, thank you! |
09 February 2019, 23:52 | #16 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
You can try Visual Studio Code with this extension.
It's available for Windows, osx and linux. You can:
|
10 February 2019, 01:17 | #17 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
|
14 February 2019, 10:52 | #18 |
Registered User
Join Date: Jun 2016
Location: UK
Posts: 428
|
I wonder if you could use the serial/parallel bootloader system with WinUAE. Instead of restarting WinUAE or having to boot from a virtual floppy every time, just have a ROM based loader and send the binary over a virtual serial port from the host. Might be a bit faster.
|
14 February 2019, 14:35 | #19 | |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
If you want something simpler to set up, but not quite as fast, then build to a directory-based drive, and use a small script on the emulator side to poll and run the incoming program. No need to restart the emulator between each run. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Looking for some basic IP tools en SDK tools | Roland007 | support.WinUAE | 0 | 28 November 2012 22:34 |
Tools | alexh | support.Hardware | 15 | 05 August 2010 23:27 |
What tools to use? | Zetr0 | GCA.Usefull Programs | 10 | 03 February 2009 23:52 |
Need a few tools | Phantomz | request.Apps | 6 | 22 November 2008 03:15 |
Tools? | Kada | project.Amiga Game Factory | 1 | 05 February 2008 09:58 |
|
|