GIT with my Genitile and SNASM68kDB
Moderator: BigEvilCorporation
GIT with my Genitile and SNASM68kDB
Hello akk,
i've started to sort all my sources code for megadrive in a git. https://github.com/pascalorama/
So far , i've added
- Genitile : sprites and map converter
- SNASM68kDB : snasm , embedded in the dos box emulator trimmed from all graphical component. so it act as a regular command line tool.
and soon to follow , megadrive studio
cheers
pascal
i've started to sort all my sources code for megadrive in a git. https://github.com/pascalorama/
So far , i've added
- Genitile : sprites and map converter
- SNASM68kDB : snasm , embedded in the dos box emulator trimmed from all graphical component. so it act as a regular command line tool.
and soon to follow , megadrive studio
cheers
pascal
-
- Very interested
- Posts: 209
- Joined: Sat Sep 08, 2012 10:41 am
- Contact:
Re: GIT with my Genitile and SNASM68kDB
You utter hero!Pascal wrote:SNASM68kDB : snasm , embedded in the dos box emulator trimmed from all graphical component. so it act as a regular command line tool.
What are the default settings (RAM, speed, etc)? My assembly times in DOSbox are currently 3 mins+ and I can't figure out why. Instantaneous on a real DOS machine (Pentium 75, running whatever DOS comes with Windows 95).
A blog of my Megadrive programming adventures: http://www.bigevilcorporation.co.uk
Re: GIT with my Genitile and SNASM68kDB
If you find the GNU syntax that terrible, surely writing a Motorola-to-GNU converter would be less work than going to the trouble of using an ancient DOS program?
edit: Well, at least one exists already.
https://www.jankratochvil.net/project/mot2as/
edit: Well, at least one exists already.
https://www.jankratochvil.net/project/mot2as/
-
- Very interested
- Posts: 619
- Joined: Thu Nov 30, 2006 6:30 am
Re: GIT with my Genitile and SNASM68kDB
There's also vasm which can be built for either Motorola or AT&T syntax (what GNU as uses). It runs on Windows, Unix-like systems, Amiga OS and even Atari TOS. It can output raw binaries, Srecord, ELF and a few more obscure formats.cero wrote:If you find the GNU syntax that terrible, surely writing a Motorola-to-GNU converter would be less work than going to the trouble of using an ancient DOS program?
Re: GIT with my Genitile and SNASM68kDB
Welcome back
-
- Very interested
- Posts: 209
- Joined: Sat Sep 08, 2012 10:41 am
- Contact:
Re: GIT with my Genitile and SNASM68kDB
I can't speak for Pascal but I need the COFF format and debug header that it outputs for use with the SNASM debugger. Plus it works fine, industry proven, etc. Just 'cause it's old doesn't mean it can't compete with the young whippersnappers.cero wrote:If you find the GNU syntax that terrible, surely writing a Motorola-to-GNU converter would be less work than going to the trouble of using an ancient DOS program?
https://www.jankratochvil.net/project/mot2as/
A blog of my Megadrive programming adventures: http://www.bigevilcorporation.co.uk
Re: GIT with my Genitile and SNASM68kDB
thanks all
Why keeping snasm68k alive ? i just love snasm68k i'm still using snasm68k because i programmed in 2005 my own debugger (megadrive studio) which use files generated by snasm68k. That debugger is tailored to my needs , and i don't see any use to change my workflow...
Also, I like to use tools like they used to have back in the days, and i'd totaly love to use a genuine debugger like BigEvilCorporation have.
Why keeping snasm68k alive ? i just love snasm68k i'm still using snasm68k because i programmed in 2005 my own debugger (megadrive studio) which use files generated by snasm68k. That debugger is tailored to my needs , and i don't see any use to change my workflow...
Also, I like to use tools like they used to have back in the days, and i'd totaly love to use a genuine debugger like BigEvilCorporation have.
weird , I'm using the default settings for dosbox and rick dangerous build in less than 10 secs using snasm68kdb.What are the default settings (RAM, speed, etc)? My assembly times in DOSbox are currently 3 mins+ and I can't figure out why. Instantaneous on a real DOS machine (Pentium 75, running whatever DOS comes with Windows 95).
-
- Very interested
- Posts: 209
- Joined: Sat Sep 08, 2012 10:41 am
- Contact:
Re: GIT with my Genitile and SNASM68kDB
Is this open source? I'm intrigued!Pascal wrote:thanks all
Why keeping snasm68k alive ? i just love snasm68k i'm still using snasm68k because i programmed in 2005 my own debugger (megadrive studio) which use files generated by snasm68k. That debugger is tailored to my needs , and i don't see any use to change my workflow...
Also, I like to use tools like they used to have back in the days, and i'd totaly love to use a genuine debugger like BigEvilCorporation have.
weird , I'm using the default settings for dosbox and rick dangerous build in less than 10 secs using snasm68kdb.What are the default settings (RAM, speed, etc)? My assembly times in DOSbox are currently 3 mins+ and I can't figure out why. Instantaneous on a real DOS machine (Pentium 75, running whatever DOS comes with Windows 95).
A blog of my Megadrive programming adventures: http://www.bigevilcorporation.co.uk
Re: GIT with my Genitile and SNASM68kDB
Soon, it's based on a old version of genesis plus and wxWidget. It'll be available as soon as i figure out a way to recompile itBigEvilCorporation wrote:
Is this open source? I'm intrigued!
here's a binary : http://pascalorama.info/brol/mdstudio.zip
you mind need to install vcredist 2010
-
- Very interested
- Posts: 209
- Joined: Sat Sep 08, 2012 10:41 am
- Contact:
Re: GIT with my Genitile and SNASM68kDB
Thank you kindly I was hoping to do this kind of thing for Exodus, got a COFF file reader plugin done, but if this works out I won't bother.Pascal wrote:Soon, it's based on a old version of genesis plus and wxWidget. It'll be available as soon as i figure out a way to recompile itBigEvilCorporation wrote:
Is this open source? I'm intrigued!
here's a binary : http://pascalorama.info/brol/mdstudio.zip
you mind need to install vcredist 2010
I'm a wxWidgets victim myself, my condolences!
A blog of my Megadrive programming adventures: http://www.bigevilcorporation.co.uk
-
- Very interested
- Posts: 209
- Joined: Sat Sep 08, 2012 10:41 am
- Contact:
Re: GIT with my Genitile and SNASM68kDB
Ok first off, how on Earth has it managed to pull symbol names from a standard BIN?
A blog of my Megadrive programming adventures: http://www.bigevilcorporation.co.uk
Re: GIT with my Genitile and SNASM68kDB
surely because you have a .map file in the same folder as your rom (and with the same name). I don't use COFFBigEvilCorporation wrote:Ok first off, how on Earth has it managed to pull symbol names from a standard BIN?
and the most useful feature for me , is that you can have a breakpoint using GensKMod breakpoint method :
*******************************************************************************
* MACRO BRK
* DESCRIPTION: Force un breakpoint dans MDStudio/kmod
* PARAMETERS: none
*******************************************************************************
BRK macro
if DEBUG
VDP_SetRegister $1d,$0
endc
endm
-
- Very interested
- Posts: 209
- Joined: Sat Sep 08, 2012 10:41 am
- Contact:
Re: GIT with my Genitile and SNASM68kDB
Ahah! Yes, I do indeed!Pascal wrote: surely because you have a .map file in the same folder as your rom (and with the same name). I don't use COFF
Ok, I'm writing off my Exodus plugin, this thing will do the job just fine :pPascal wrote: and the most useful feature for me , is that you can have a breakpoint using GensKMod breakpoint method :
*******************************************************************************
* MACRO BRK
* DESCRIPTION: Force un breakpoint dans MDStudio/kmod
* PARAMETERS: none
*******************************************************************************
BRK macro
if DEBUG
VDP_SetRegister $1d,$0
endc
endm
Can't get it to run my ROM though, it just blats the code window with illegal instructions. Do I need to do anything special?
A blog of my Megadrive programming adventures: http://www.bigevilcorporation.co.uk
Re: GIT with my Genitile and SNASM68kDB
uber weird ! is the starting position in your header is different than $200 ? is the rom padded ?BigEvilCorporation wrote:Pascal wrote: Can't get it to run my ROM though, it just blats the code window with illegal instructions. Do I need to do anything special?
-
- Very interested
- Posts: 209
- Joined: Sat Sep 08, 2012 10:41 am
- Contact:
Re: GIT with my Genitile and SNASM68kDB
Yes and noPascal wrote:uber weird ! is the starting position in your header is different than $200 ? is the rom padded ?BigEvilCorporation wrote:Pascal wrote: Can't get it to run my ROM though, it just blats the code window with illegal instructions. Do I need to do anything special?
The entry point is arbitrary, depending on how it's assembled, marked in the vector table (entry #2?). I'll try moving it explicitly to $200 and pad the rom.
A blog of my Megadrive programming adventures: http://www.bigevilcorporation.co.uk