Page 1 of 2
GIT with my Genitile and SNASM68kDB
Posted: Fri Mar 31, 2017 12:18 pm
by Pascal
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
Re: GIT with my Genitile and SNASM68kDB
Posted: Fri Mar 31, 2017 1:46 pm
by BigEvilCorporation
Pascal wrote:SNASM68kDB : snasm , embedded in the dos box emulator trimmed from all graphical component. so it act as a regular command line tool.
You utter hero!
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).
Re: GIT with my Genitile and SNASM68kDB
Posted: Fri Mar 31, 2017 5:56 pm
by cero
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/
Re: GIT with my Genitile and SNASM68kDB
Posted: Fri Mar 31, 2017 7:00 pm
by Mask of Destiny
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?
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.
Re: GIT with my Genitile and SNASM68kDB
Posted: Fri Mar 31, 2017 11:32 pm
by KanedaFr
Welcome back
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 10:43 am
by BigEvilCorporation
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.
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 11:00 am
by Pascal
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.
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).
weird , I'm using the default settings for dosbox and rick dangerous build in less than 10 secs using snasm68kdb.
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 12:47 pm
by BigEvilCorporation
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.
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).
weird , I'm using the default settings for dosbox and rick dangerous build in less than 10 secs using snasm68kdb.
Is this open source? I'm intrigued!
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 2:01 pm
by Pascal
BigEvilCorporation wrote:
Is this open source? I'm intrigued!
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 it
here's a binary :
http://pascalorama.info/brol/mdstudio.zip
you mind need to install vcredist 2010
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 3:00 pm
by BigEvilCorporation
Pascal wrote:BigEvilCorporation wrote:
Is this open source? I'm intrigued!
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 it
here's a binary :
http://pascalorama.info/brol/mdstudio.zip
you mind need to install vcredist 2010
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.
I'm a wxWidgets victim myself, my condolences!
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 3:04 pm
by BigEvilCorporation
Ok first off, how on Earth has it managed to pull symbol names from a standard BIN?
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 6:28 pm
by Pascal
BigEvilCorporation wrote:Ok first off, how on Earth has it managed to pull symbol names from a standard BIN?
surely because you have a .map file in the same folder as your rom (and with the same name). I don't use COFF
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
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 8:27 pm
by BigEvilCorporation
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
Ahah! Yes, I do indeed!
Pascal 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
Ok, I'm writing off my Exodus plugin, this thing will do the job just fine :p
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?
Re: GIT with my Genitile and SNASM68kDB
Posted: Sat Apr 01, 2017 9:00 pm
by Pascal
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?
uber weird ! is the starting position in your header is different than $200 ? is the rom padded ?
Re: GIT with my Genitile and SNASM68kDB
Posted: Sun Apr 02, 2017 10:13 am
by BigEvilCorporation
Pascal wrote: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?
uber weird ! is the starting position in your header is different than $200 ? is the rom padded ?
Yes and no
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.