Search found 69 matches
- Mon Jan 18, 2016 2:50 pm
- Forum: SGDK
- Topic: Setup Gendev linux [Solved]
- Replies: 13
- Views: 8807
Re: Setup Gendev + Codeblocks in debian, compiling problem.
Did you only try UMDK or an emulator also? It has been some time since I last set up Gendev so I will try it again tonight or tomorrow in Ubuntu. You can add an option to the compiler line "-nostdlib" or "-nobuiltin" don't quite remember which. That should get rid of the warnings. As a bit of a side...
- Mon Jan 18, 2016 5:29 am
- Forum: SGDK
- Topic: Setup Gendev linux [Solved]
- Replies: 13
- Views: 8807
Re: Setup Gendev + Codeblocks in debian, compiling problem.
I'm not very good at tutorials but maybe this will explain it Build Gendev sudo apt-get install build-essential texinfo cd git clone https://github.com/kubilus1/gendev cd gendev sudo make Hello World program cd cp gendev/sgdk/skeleton . cd skeleton mkdir src cat <<EOF > src/main.c #include <genesis....
- Sun Jan 17, 2016 7:08 pm
- Forum: SGDK
- Topic: Setup Gendev linux [Solved]
- Replies: 13
- Views: 8807
Re: Setup Gendev + Codeblocks in debian, compiling problem.
Wrong makefile. You want gendev/sgdk/skeleton/Makefile
EDIT: It also appears your Code::Blocks projects is configured to use "make.exe" explicitly so you will probably want to change that as well. I don't use that IDE so I can't tell you where that is configured though.
EDIT: It also appears your Code::Blocks projects is configured to use "make.exe" explicitly so you will probably want to change that as well. I don't use that IDE so I can't tell you where that is configured though.
- Sun Jan 03, 2016 2:05 am
- Forum: UMDK
- Topic: UMDK manufacturing, part 2: Software
- Replies: 253
- Views: 269929
Re: UMDK manufacturing, part 2: Software
Whoops. I'll try a few more times, don't have the old trace/bin files.prophet36 wrote:Oh, wait. Why halve it? If the byte that fails is 77590, you need to look at the write to 0x412F16 (0x400000 + 77590) in the trace.
- Sat Jan 02, 2016 11:17 pm
- Forum: UMDK
- Topic: UMDK manufacturing, part 2: Software
- Replies: 253
- Views: 269929
Re: UMDK manufacturing, part 2: Software
If the cmp command returns an error like "readback.bin random.bin differ: byte 1234, line 123", then the test has failed. Try running the test again, this time returning a trace log: loader -w flashtest.bin:0 -x 2 -t trace.log:512 You can then grep the resulting trace log to see what values are act...
- Sat Jan 02, 2016 9:49 pm
- Forum: UMDK
- Topic: UMDK manufacturing, part 2: Software
- Replies: 253
- Views: 269929
Re: UMDK manufacturing, part 2: Software
Finally got around to running the tests again. I seem to have a problem with the onboard flash tests I did not have last month when I first got the cart. $ cmp readback.bin random.bin readback.bin random.bin differ: byte 77590, line 299 It's a different line every time I run the test so maybe the co...
- Wed Dec 30, 2015 5:26 pm
- Forum: UMDK
- Topic: UMDK manufacturing, part 2: Software
- Replies: 253
- Views: 269929
Re: UMDK manufacturing, part 2: Software
Still watching the thread, but have not had time to try the newer firmware/tests just yet. Worst case I will still have a solid chunk of free time this weekend.prophet36 wrote:I wonder what happened to Grind and mswan? Weren't they the other two people who bought in Montserrat's batch?
- Fri Dec 04, 2015 5:06 pm
- Forum: UMDK
- Topic: UMDK manufacturing, part 2: Software
- Replies: 253
- Views: 269929
Re: UMDK manufacturing, part 2: Software
Attached mine. You won't be able to use ddd without the full toolchain though. There were a few different problems I had building on different distros. Try running these 3 commands: 7za help2man sudo apt-get install libtool-bin If 7za is a bad command install "p7zip-full" If libtool-bin doesn't exis...
- Wed Dec 02, 2015 1:35 am
- Forum: SGDK
- Topic: Anyone with a Genesis and ability to record audio?
- Replies: 10
- Views: 8108
Re: Anyone with a Genesis and ability to record audio?
It's quiet but I recorded this from hardware. Sounds better than emulator but still a bit off.
- Tue Dec 01, 2015 11:43 pm
- Forum: UMDK
- Topic: UMDK manufacturing, part 2: Software
- Replies: 253
- Views: 269929
Re: UMDK manufacturing, part 2: Software
Using Ubuntu 14.04.3 I was able to get to the same point as Burbruee. This is on an NTSC model 1 that has the copyright screen (I was told some model 1s don't). Two small things I had to change in x64.txt: In the apt-get lines, remove "libtool-bin". That package doesn't exist in 14.04. Also add "p7z...
- Wed Nov 25, 2015 3:39 am
- Forum: UMDK
- Topic: UMDK manufacturing, part 2: Software
- Replies: 253
- Views: 269929
Re: UMDK manufacturing, part 2: Software
Finally getting a chance to do this. Noticing a bit of a discrepancy in the last step: my firmware.bin is only 1280 bytes. $ gordon -v 1d50:602b -t indirect:1 -w firmware.bin:0x60000 Device: Micron/Numonyx/ST M25P40 Writing 0x00000500 bytes to address 0x00060000... ..... $ Nothing mentioning the fil...
- Mon Nov 23, 2015 5:59 pm
- Forum: UMDK
- Topic: UMDK manufacturing, part 2: Software
- Replies: 253
- Views: 269929
Re: UMDK manufacturing, part 2: Software
Thanks for the detailed guide. Got the first 2 steps down but may not be able to mess with the board until later this week.
At least I can confirm the steps work the same on Arch except for the apt-get lines.
At least I can confirm the steps work the same on Arch except for the apt-get lines.
- Wed Nov 11, 2015 11:05 pm
- Forum: SGDK
- Topic: How distance_approx() works??
- Replies: 4
- Views: 4225
Re: How distance_approx() works??
I think this is calculating a point from the origin (0,0) so you could give it the difference between the 2 coordinates you have.
Don't get how the part at the end works though.
Code: Select all
u32 distance = distance_approx(x2 - x1, y2 - y1);
- Wed Oct 28, 2015 9:45 pm
- Forum: SGDK
- Topic: delclaring and using struct
- Replies: 2
- Views: 2036
Re: delclaring and using struct
You don't need to put "struct" in front of the type if you used a typedef: Expert Experts[6]; // Would be fine Everything else looks valid. Are you running into a problem with this? I think SGDK has a strcpy so that should work. Be careful though as C standard libraries use null terminated strings. ...
- Mon Oct 26, 2015 2:05 pm
- Forum: SGDK
- Topic: New XGM driver !
- Replies: 67
- Views: 45837
Re: New XGM driver !
Hi guys, I think this may actually be a Deflemask bug. I have a couple VGMs that do the same even in Deflemask's ROM output. Forgot my credentials to Delek's forum otherwise I would report it. Posting from my phone where there is no evidence, but if you export your .dmf file as a ROM check if you st...