Comments (8)
Fixed ! (looks like -O1 flag break rom_head.c compilation, reverted to DEFAULT_FLAGS)
from sgdk.
Well the problem is:
rom_head.bin is not generated. IT is basically 0 bytes.
The ugly fix (lol)
segas.s
line 52
it uses directive .incbin "file"[,skip[,count]]
so... replace the zero-length file with anything.
And it'd work.
Also it is strange, but SGDK has 2 couples of sega.s + rom_head.c
one is licated in sdgk\src\boot
the other is in the template
from sgdk.
The make file has been changed. There is a bug.
from sgdk.
Thank you very much, D0NM friend! Downloaded SDK version 1.34 (December 2017), managed to build a starter project!
from sgdk.
Thanks for the answer! But I just didn't understand why the .bin file wasn't generated.
from sgdk.
That is, you need to roll back to an earlier version?
from sgdk.
SGDK 1.70 (February 2022)
- MAKEFILE
- added 'EXTRA_FLAGS' entry to makefiles so we can use custom extra compilation flags
Is that what you mean?)
from sgdk.
My future investigation shows that road_head.c is being compiled.
But the object file is ~ 4K instead of 899 bytes. Also it has some garbage inside, You cannot see the real text strings in this .o file.
On using objcopy.exe it produces the zero length .bin file
from sgdk.
Related Issues (20)
- a image projects don't work in sample HOT 2
- VDP_setTileMapEx WINDOW not functional HOT 6
- Cannot build with Genesis Code HOT 3
- Still failing to build with Genesis Code HOT 1
- VDP_loadFont() omits duplicate chars HOT 2
- rescomp: same tileset for multiple maps HOT 1
- topic addition for better community reach HOT 1
- Fail to build on windows HOT 6
- Error in makelib.gen HOT 1
- Adding Multi-Platform Docker Images and Build Pipelines to SGDK
- add commands to Makefile: init, vendor, install HOT 1
- SpriteEngine - auto anim HOT 4
- Heavy dependence on non-reproducible artifacts
- Rescomp freeze for some sprite resource in compilation time HOT 2
- Optimization idea for rescomp HOT 2
- Rescomp could detect duplicate frames in case of same sprite sheet with different colors HOT 2
- Projects fail to build with C23 HOT 1
- SPR_getAnimationDone is delayed and flickering HOT 8
- SGDK is not running on Mega Drive / Sega Genesis HOT 4
- issues in Docker HOT 1
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.