Views: 20,053,145 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-25-24 03:47 PM |
Guest: |
0 users reading 2D Sprite-based Console (WIP) | 1 bot |
Main - Computers and technology - 2D Sprite-based Console (WIP) | Hide post layouts | New reply |
Yoshimaster96 |
| ||
Member Normal user Level: 39 Posts: 115/345 EXP: 376981 Next: 27790 Since: 11-03-14 Last post: 1947 days ago Last view: 889 days ago |
Posted by Yoshimaster96 [EDIT] Decided to design my own CPU architecture to be more closely geared towards the console. Haven't finished it yet though. |
Yoshimaster96 |
| ||
Member Normal user Level: 39 Posts: 121/345 EXP: 376981 Next: 27790 Since: 11-03-14 Last post: 1947 days ago Last view: 889 days ago |
Considering whether I should add 3D support, or if I should just keep it 2D. |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 3688/9019 EXP: 56261420 Next: 226224 Since: 07-03-12 From: in a box Last post: 13 days ago Last view: 43 min. ago |
Yoshimaster96 |
| ||
Member Normal user Level: 39 Posts: 122/345 EXP: 376981 Next: 27790 Since: 11-03-14 Last post: 1947 days ago Last view: 889 days ago |
Several reasons:
To simplify emulation and development (in some ways, in other ways it will be more difficult because of it) To curtail piracy (an unknown or proprietary instruction set is tougher to hack) To allow more flexibility |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 3695/9019 EXP: 56261420 Next: 226224 Since: 07-03-12 From: in a box Last post: 13 days ago Last view: 43 min. ago |
You'd commit the mistake of blocking homebrew more than piracy. As soon as the communication between the system and the game storage medium is cracked, it's possible to make the system load any game you want. ____________________ NSMBHD - Kafuka - Jul melonDS the most fruity DS emulator there is zafkflzdasd |
Yoshimaster96 |
| ||
Member Normal user Level: 39 Posts: 123/345 EXP: 376981 Next: 27790 Since: 11-03-14 Last post: 1947 days ago Last view: 889 days ago |
Yeah, the reasons weren't all that great. Maybe I'll just stick with the MIPS CPU. Then I won't have to make a new compiler, I can just use GCC. I will have to pack files into a filesystem though. |
Yoshimaster96 |
| ||
Member Normal user Level: 39 Posts: 129/345 EXP: 376981 Next: 27790 Since: 11-03-14 Last post: 1947 days ago Last view: 889 days ago |
I decided with neither 2D nor 3D, but rather a bitmap-based console that supports both, and more! Customized graphics engines FTW!
Here is a gradient generated by poking values into memory (i.e. the emulator does this alone, not from a game image): There are actually 3 frame buffers, that are combined to form a final image, and then masked to a specific per-channel brightness. For example, say pixel (0,0) has color #FF0000 (red). If the multiply buffer is enabled, each channel is multiplied by a constant #80. This yields a darker color, specifically #800000. Then, if the screen buffer is enabled, each channel is screened by a constant #80. This yields a lighter color, specifically #BF8080. Then, if the mask is enabled, with #808080, all channels are halved (max channel value for all channels is 128), thus the final color for pixel (0,0) is #5F4040. |
Yoshimaster96 |
| ||
Member Normal user Level: 39 Posts: 133/345 EXP: 376981 Next: 27790 Since: 11-03-14 Last post: 1947 days ago Last view: 889 days ago |
Got a basic game image to load (W00T!):
Still lacks audio and input support though. That's next on my list. |
Yoshimaster96 |
| ||
Member Normal user Level: 39 Posts: 146/345 EXP: 376981 Next: 27790 Since: 11-03-14 Last post: 1947 days ago Last view: 889 days ago |
Welp, this project has yet another revision! I guess it's no surprise given the scale of the project, but I've decided to go 3D with a fixed shader pipeline. |
Main - Computers and technology - 2D Sprite-based Console (WIP) | Hide post layouts | New reply |
Page rendered in 0.048 seconds. (2048KB of memory used) MySQL - queries: 27, rows: 211/211, time: 0.014 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |