Comments (6)
The program is not 64-bit clean, nor endian-safe. I may be able to fix some parts.
from sgdk.
I can't see the link with the given line (even with the offset of 2). I though char, short and long types are always fixed to 8/16/32 bits whatever is the CPU behind.
from sgdk.
On Wed, 18 Nov 2015 06:52:02 -0800
Stephane Dallongeville [email protected] wrote:
I can't see the link with the given line (even with the offset of 2). I though char, short and long types are always fixed to 8/16/32 bits whatever is the CPU behind.
No, the C standard guarantees nothing of the sort. There are platforms
where char is 16 bits for example, on 64-bit Linux long is 64 bits.
from sgdk.
oh ok. I will have to check that in the others tools as well then :-/
I don't really care about endianess currently, i guess we won't develop Genesis games on smartphone tomorrow :p
from sgdk.
PowerPC is big-endian, which means old Macs and some current servers. The Genesis itself is big-endian ;)
from sgdk.
oh yeah, i forgot that old mac systems, hopefully no ones is trying to do Megadrive development on them ;)
from sgdk.
Related Issues (20)
- Question about bank switching HOT 3
- How can we cut sprites?
- Problems with XGM_StartPlayPCM function HOT 4
- ROM larger than it should be, links unneeded symbols from libmd.a HOT 4
- GDK not working properly despite following the installation step by step. HOT 1
- Every sound driver is always linked in
- Wrong JOY_getJoypadType(JOY_2) result HOT 5
- XGM2 6650 support HOT 1
- Possible XGM2 bug HOT 2
- flash-save sample report HW error on BlastEm HOT 16
- new GCC performances trouble HOT 1
- Standalone ZGM player? HOT 1
- GCC 13 default behavior HOT 1
- Input Handling Issue with SGDK on Windows 11 HOT 2
- Purely PCM based XGM stops playing PCM upon looping HOT 1
- XGM2 tempo off on PAL HOT 1
- Add larger fonts
- XGM ROM Builder doesn't function properly on Linux
- XGM2 tracks plays back at different speeds on PAL and NTSC machines HOT 2
- Consider adding `-ffunction-sections` and `-fdata-sections` compiler options
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgdk.