Comments (3)
Considering that the Sega Master System accesses VRAM via a couple of I/O ports, and that's a Z80-based system, I don't see how a command-based system would be out of place.
Let's get some examples up.
Put string onto screen at given position
LD a, GPU_MSG_PUTSTR LD de, (ypos<<8)|xpos LD hl, str_hello LD b, str_hello_end - str_hello OUT (c), a OUT (c), e OUT (c), d OUT (c), b OTIR
Draw a rectangle
LD a, GPU_MSG_RECTFILL_C4 LD hl, (y<<8)|x LD de, (h<<8)|w LD b, color OUT (c), a OUT (c), l OUT (c), h OUT (c), e OUT (c), d OUT (c), b
Actually, just draw a damn thing
LD hl, a_damn_thing LD b, a_damn_thing_end - a_damn_thing OTIR
from circuity.
Will we use direct VRAM writes, or will we send commands to the GPU instead? I have ideas for both.
from circuity.
I can see advantages for both, the first being nice for low-level archs, the latter for high-level ones. The latter would presumably more compact networking (that's why that's what OC does anyway). Not sure if a "hybrid" would be a good idea? Would allow saving some cycles, but that in turn could increase bandwidth use for syncing quite a bit... I have no strong preference right now, tbh, tho I'm leaning towards VRAM writes.
@asiekierka offered to work on this a while ago, tho I'm not sure what his schedule looks like currently, given fabric is a thing now?
from circuity.
Related Issues (20)
- Block models and block and item textures HOT 4
- Allow changing data bus width in bus controller
- Allow changing address bus width in bus controller HOT 4
- Separate lib package into separate mod when things stabilize
- Modularize all the things
- [RFC] API, Structure, Devices, Implementation HOT 10
- Block that can upload/download (at least) EEPROMs HOT 4
- Multi-CPU support HOT 6
- Add throttling to synchronization
- Prioritize pending synchronizations by distance to player HOT 3
- Replace the DeviceType enum with a string identifier
- Description HOT 1
- InvalidStateException not supported on OpenJDK
- In-game serial console visualization HOT 4
- Add floppy disk drive / floppy controller HOT 3
- Add hard disk / disk drive controller
- Add system for bus devices to have a persistent globally unique ID
- Add a screen block HOT 15
- Improved matching of list serializer
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 circuity.