-
-
Notifications
You must be signed in to change notification settings - Fork 19
Feat/doom #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Feat/doom #101
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
68ee3d7
wip doom
finger563 ba77ff3
wip
finger563 bb2c089
add doom which compiles
finger563 dd39274
fleshing out
finger563 5f13861
wip audio video
finger563 59a17a0
working gfx display
finger563 56c3345
fix inputs
finger563 9f0274c
wip moving doom over to shared memory
finger563 a648fe0
wip moving more into shared memory
finger563 6025ac2
add boxart
finger563 5a72c8f
add doom ultimate boxart
finger563 c2e506d
update to latest tool
finger563 1f4d965
continue moving doom to shared memory
finger563 1a5fb84
move more into shared memory
finger563 0ac9b42
wip
finger563 13c833d
reduce sd card overhead and allow palette access.
finger563 40e40c3
abort if error
finger563 d9e0cd1
WIP shared memory actually working again
finger563 d80bc52
fix sizeof issue
finger563 e673647
more WIP and working shared memory
finger563 7f7d9d3
increase shared memory again
finger563 350da33
enable doom
finger563 9d5c714
moving more and more into shared memory
finger563 d2fa01e
move lcd struct and bgdup into shared memory for gbc
finger563 a9dce59
fix gbc
finger563 7509cc1
update to better work across multiple emulators
finger563 61c814b
fix ppu issue with palette
finger563 231ce43
ensure doom cart frees memory
finger563 d6d6b8b
bump shared memory back to 150k for Genesis emulator
finger563 9a655da
145k for shared memory
finger563 a33b854
wip using pool allocator for better memory performance accross emulat…
finger563 28ef4f6
update log
finger563 0cb1b48
update readme
finger563 8938a75
update espp
finger563 e7e4c06
ignore prboom in sa
finger563 74e7b4d
fix audio memset issue
finger563 5b9ae33
fix sound emulation in doom; update to pause sound when doom is pause…
finger563 7a41159
better reliability and working save/load game in box-emu menu
finger563 ca66ce1
update readme and improve sound a little; also make it so the game sa…
finger563 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| #!/bin/bash | ||
| find . -maxdepth 1 -iname "*.jpg" | xargs -L1 -I{} convert -resize 100x "{}" ../"{}" | ||
| find . -maxdepth 1 -iname "*.jpg" | xargs -L1 -I{} magick -quiet "{}" -resize 100x ../"{}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,4 +30,5 @@ idf_component_register( | |
| "statistics" | ||
| "max1704x" | ||
| "esp-box" | ||
| "pool_allocator" | ||
| ) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| idf_component_register( | ||
| INCLUDE_DIRS "include" | ||
| SRC_DIRS "src" "prboom" | ||
| PRIV_INCLUDE_DIRS "." "prboom" | ||
| REQUIRES box-emu shared_memory | ||
| ) | ||
| target_compile_options(${COMPONENT_LIB} PRIVATE | ||
| -Wno-error=address | ||
| -Wno-misleading-indentation | ||
| -Wno-format-overflow | ||
| -Wno-char-subscripts | ||
| -Wno-missing-field-initializers | ||
| -DHAVE_CONFIG_H | ||
| -O2 | ||
| ) |
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #pragma once | ||
|
|
||
| #include <span> | ||
| #include <string> | ||
| #include <string_view> | ||
| #include <vector> | ||
|
|
||
| void reset_doom(); | ||
| void init_doom(const std::string& rom_filename, uint8_t *romdata, size_t rom_data_size); | ||
| void doom_init_shared_memory(); | ||
| void pause_doom_tasks(); | ||
| void resume_doom_tasks(); | ||
| void load_doom(std::string_view save_path, int save_slot); | ||
| void save_doom(std::string_view save_path, int save_slot); | ||
| void run_doom_rom(); | ||
| void deinit_doom(); | ||
| std::span<uint8_t> get_doom_video_buffer(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Move gbc code into IRAM for perforamnce | ||
| [mapping:doom] | ||
| archive: libdoom.a | ||
| entries: | ||
| d_main (noflash_text) | ||
| r_draw (noflash_text) | ||
| g_game (noflash_text) | ||
| m_misc (noflash_text) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.