Search found 70 matches

by MrD
Thu May 28, 2020 10:08 pm
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

Does anyone know if asmx supports anonymous temporary labels like some C64 assemblers do, using multiple + and - to refer to the Nth most recent use of those symbols as a label? My personal coding style results in long subroutine and variable names, and all my branch labels right now are prefixed wi...
by MrD
Sat May 23, 2020 9:35 am
Forum: Cartridge
Topic: Designing MD sdcard flashcart for fun, advice?
Replies: 37
Views: 53775

Re: Designing MD sdcard flashcart for fun, advice?

https://cdn.discordapp.com/attachments/499643631376924673/713663724220710962/IMG_6950_2000wide.jpg https://cdn.discordapp.com/attachments/499643631376924673/713663783024721960/IMG_6998_cropnotrot.jpg https://imgur.com/a/B4CI8t2 I'm making tons of progress with the new Revision 1 boards, these Aliex...
by MrD
Tue May 05, 2020 7:44 am
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

It's a bug in o_Shift in asm68k.c. reg1 = GetReg(data_regs); if (reg1 >= 0) There's no else part that throws an error on the register not being found from the list passed. Oh hey thanks! :D (if it wasn't clear, when I said 'gotta look into that' I meant it as a note to myself to be curious, not at ...
by MrD
Mon May 04, 2020 7:29 pm
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

Make sure to enable errors. For some reason asmx has error reporting disabled by default… (why is that even a setting?!) I might be half asleep, but I'm not that asleep. :) You can test it yourself by assembling lsl.l #2,a0 lsl.l #2,d0 with asm68kt.exe -C 68K -b 0 -e -w test.asm -o test.bin The out...
by MrD
Sun May 03, 2020 9:27 am
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

Looks like asmx let 'lsl.l #2,a0' through emitting no opcodes without an error, gotta look into that.
by MrD
Thu Apr 30, 2020 12:52 am
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

I'm not sure this is what you want, but with defines/macros you can do something like this: speedX = d7 speedY = d3 accX = a0 accY = d5 addq.w #1, speedX movem.w speedX/speedY/accX/accY, -(sp) Similar, but what I want to do is this: complicated_maths: movem.l complicated_maths_regs,-(a7) ; code mov...
by MrD
Thu Apr 23, 2020 6:53 pm
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

Define would be nice, since I can't see any support for register lists (for movem) in asmx and no way to fake it with macros.
by MrD
Thu Apr 23, 2020 2:30 pm
Forum: Cartridge
Topic: Designing MD sdcard flashcart for fun, advice?
Replies: 37
Views: 53775

Re: Designing MD sdcard flashcart for fun, advice?

Game Raccoon Revision 0 + 1: Overdrive by Titan
https://www.youtube.com/watch?v=SlSrLwtQxP4

Game Raccoon Revision 1: MD-NICCC by Titan
https://www.youtube.com/watch?v=ac3Zcbfl3o8
by MrD
Thu Apr 23, 2020 12:46 am
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

Note about asmx: Herb Johnson's fork http://www.retrotechnology.com/memship/asmx.html is ahead of the one on Bruce Tomlin's website http://xi6.com/projects/asmx/ Specifically, there's a bug in Bruce's current version where object output files are opened as text not binary so Windows users will have ...
by MrD
Wed Apr 22, 2020 10:52 pm
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

asmx is compiled and working. :) It's not a drop-in replacement for vasm, but it's definitely a start. It pads with FF rather than 00, and some behaviour is different than vasm, resulting in my dc.l Mega Drive header vanishing entirely when I'm not looking. Working on it :)

https://imgur.com/3X9ALBL
by MrD
Wed Apr 22, 2020 8:16 pm
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Re: Alternative to Vasm assembler?

About the only thing gas has going for it is that it's the easiest to make work with gcc for a mixed C/C++/asm program. Being able to compile it and run it on any platform is a big plus if you're into that. :) I've found a lot of the GNU stuff for x86 targeting 68000 here, and I've started to get m...
by MrD
Tue Apr 21, 2020 7:25 pm
Forum: Megadrive/Genesis
Topic: Alternative to Vasm assembler?
Replies: 27
Views: 34504

Alternative to Vasm assembler?

I'm looking for an alternative to the vasm assembler for 68000 work; I'm not a fan of its non-commercial-only license. Vasm is nice enough, though I have to work around some of it to get the output how I like. My first thought of an alternative would be GNU gas, but finding a precompiled x86 Windows...
by MrD
Fri Apr 10, 2020 8:55 am
Forum: Cartridge
Topic: Designing MD sdcard flashcart for fun, advice?
Replies: 37
Views: 53775

Re: Designing MD sdcard flashcart for fun, advice?

cero wrote:
Thu Apr 09, 2020 5:13 pm
Mr. Shakycam needs a tripod ;)
:D It's exciting stuff! And I was recording on my phone since it's the best camera I've got.
by MrD
Thu Apr 09, 2020 2:46 pm
Forum: Cartridge
Topic: Designing MD sdcard flashcart for fun, advice?
Replies: 37
Views: 53775

Re: Designing MD sdcard flashcart for fun, advice?

Oh hell that sounds like a good way to have months wasted by something out of your control...
by MrD
Thu Apr 09, 2020 11:19 am
Forum: Cartridge
Topic: Designing MD sdcard flashcart for fun, advice?
Replies: 37
Views: 53775

Re: Designing MD sdcard flashcart for fun, advice?

Raccoon Revision 1 arrived earlier this week. A very friendly DHL person placed it very gently on my porch floor and walked very quickly away. Spent the week assembling the interface parts and adapting the Revision 0 program to work inside the new layout. I ordered two boards, but only one of them w...