Search found 55 matches

by Zontar
Sat Dec 19, 2015 10:52 pm
Forum: SGDK
Topic: Reading back tiles from VDP
Replies: 1
Views: 2278

Reading back tiles from VDP

Is it possible to "read back" tiles you've loaded into the VDP using SGDK?

If not, what MMIO ports and commands will get me access to the tiles already loaded into the Genesis VDP?
by Zontar
Wed Apr 08, 2015 12:14 am
Forum: Tools
Topic: Update your Genesis/32X Toolchain!
Replies: 110
Views: 160386

I used noname22's script it and got this error building the MD TicTacToe on C++ t800@cabronazo:~/Escritorio/TicTacToe/C++/MD$ make -f Makefile m68k-elf-g++ -T /opt/toolchains/gen/ldscripts/md.ld -Wl,-Map=output.map -nostdlib -ffreestanding -fno-rtti crt0.o crtstuff.o main.o hw_md.o font.o -L/opt/to...
by Zontar
Sat Mar 28, 2015 11:06 pm
Forum: Tools
Topic: Update your Genesis/32X Toolchain!
Replies: 110
Views: 160386

There is a potential issue with newlib 2.1.0. I have encountered this error when compiling the toolchain in linux (ubuntu 14.04 with GCC 4.8.2): https://sourceware.org/ml/newlib/2014/msg00258.html The solution appears to be rolling back to newlib 2.0.0. I'm still in the middle of compiling now, will...
by Zontar
Sat Nov 15, 2014 10:44 pm
Forum: SGDK
Topic: Compatibility with C++
Replies: 17
Views: 10938

Compatibility with C++

The more I come along in my project, the more I realise it would be nice to have some object-orientation. Would SGDK work with C++? Has anyone ever used it with C++ before?
by Zontar
Thu Nov 13, 2014 1:34 am
Forum: Collaboration
Topic: Megadrive: Custom-Cartridge including extra capabilities
Replies: 35
Views: 46256

Preferably, there would be some FPGA that I could reprogram, maybe even by uploading precompiled vhdl code within a Genesis rom. That would open up the exciting possibility of games that extend themselves purely in software.
by Zontar
Mon Nov 10, 2014 5:08 am
Forum: Collaboration
Topic: Mega Swirl
Replies: 0
Views: 17625

Mega Swirl

I've advertised this in my signature but this is an excellent place to do so as well. http://i.imgur.com/9TKocSR.png Contributors of all backgrounds (coders, artists, and musicians) are welcome to contribute to Mega Swirl , my current MD game project. Mega Swirl is a puzzle game inspired by and desi...
by Zontar
Sat Nov 08, 2014 8:23 pm
Forum: Megadrive/Genesis
Topic: Converting colours to MD
Replies: 3
Views: 4583

Converting colours to MD

I'm not quite sure I'm mapping colours properly from RRGGBB to Sega BGR. The image I'm starting with is a 4bpp image, only sixteen colours. Here is the image (converted from 4bpp BMP to PNG, same colours though): http://i.imgur.com/H7nIWP8.png So what I'm doing to convert colours is taking the upper...
by Zontar
Thu Oct 23, 2014 9:06 pm
Forum: Tools
Topic: SGDK Development Vagrantfile
Replies: 13
Views: 11278

I posted this in the SGDK thread but it may better belong here. Does anyone else have trouble using the modulo (%) operator? My compiler using this setup gives an error when attempting to use it.
by Zontar
Thu Oct 23, 2014 9:01 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 853
Views: 1293205

Stef wrote:Just tested and the 32 bits modulo does work for me, did you have a special compiler setup ??
I use kubilus' Linux Genesis Dev Setup, so this may be an issue specific to that then.
by Zontar
Mon Oct 20, 2014 11:11 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 853
Views: 1293205

Is it possible to use the modulo operator (%) in SGDK? I attempt to use it, however, GCC closes with an "undefined reference to `__modsi3'" error.
by Zontar
Sun Oct 19, 2014 6:56 pm
Forum: SGDK
Topic: Maximum size of the Game
Replies: 8
Views: 9975

What if you don't have a mega everdrive? How about making it unlock bonus features? Or a sega cd version? Maybe better compression will get you enough space? I personally have thought of this and you could detect and enable Mega Everdrive specific features. However, I would imagine most people who ...
by Zontar
Sun Oct 19, 2014 5:55 pm
Forum: SGDK
Topic: Maximum size of the Game
Replies: 8
Views: 9975

You should also consider making your game require the Mega Everdrive, and store heavyweight assets in files on SD that your ROM can access in game. With an Everdrive, your game has a theoretical limit of 32GB with a maximum individual file size of 4GB. Your ROM size will still be capped at roughly 1...
by Zontar
Sat Oct 11, 2014 7:15 pm
Forum: Tools
Topic: Update your Genesis/32X Toolchain!
Replies: 110
Views: 160386

Bit of a longshot but worth asking: are there m68k versions of GDC (for D programming language) or gccgo (for Golang)? Can we use them for genesis dev if they do exist? I'm loving what's new in the languages space.
by Zontar
Tue Sep 23, 2014 10:56 pm
Forum: Tools
Topic: SGDK Development Vagrantfile
Replies: 13
Views: 11278

Does this use the latest SGDK?
by Zontar
Sun May 04, 2014 6:42 pm
Forum: Tools
Topic: Linux Genesis Dev Setup
Replies: 125
Views: 134154

All right, wish I could test but I've recently upgraded to Ubuntu 14.04, which got me bitten by the texinfo 5 bug. Tried applying Mask of Destiny's diff but I may be doing it wrong as it gives an error when patching Makefile. I'll have to look further into this when I have the time.