jkirsons / doom-espidf Goto Github PK
View Code? Open in Web Editor NEWDoom on ESP32
Doom on ESP32
Hi,
sorry, not really an issue, just a little lack of information (and knowledge of course)...
Would you kindly tell me, please, how to upload the provided bin files?
I would use the ESP32 Flash Download tool but I don't know what I should upload (esp32-doom.bin and/or partitions.bin and/or bootloader.bin), and at which address...
thanks in advance
Giovi
In the file m_menu.c for some reason the strings have been removed from the OptionsMenu[] array. The array initialization needs to be restored to this in order for the menu to display its text properly:
menuitem_t OptionsMenu[]=
{
// killough 4/6/98: move setup to be a sub-menu of OPTIONs
{1,"M_GENERL", M_General, 'g'}, // killough 10/98
{1,"M_SETUP", M_Setup, 's'}, // phares 3/21/98
{1,"M_ENDGAM", M_EndGame,'e'},
{1,"M_MESSG", M_ChangeMessages,'m'},
/* {1,"M_DETAIL", M_ChangeDetail,'g'}, unused -- killough /
{2,"M_SCRNSZ", M_SizeDisplay,'s'},
{-1,"",0},
{1,"M_MSENS", M_ChangeSensitivity,'m'},
/ {-1,"",0}, replaced with submenu -- killough */
{1,"M_SVOL", M_Sound,'s'}
};
Would it be easy to use the SDL_mixer from Wolf4SDL in this port of Doom, so that there is music as well?
On TTGO T4 GPIO26 used for DC signal of LCD. I make some changing in source code.
In i_sound.c i2s_set_dac_mode(I2S_DAC_CHANNEL_LEFT_EN); used GPIO26, i change it to
i2s_set_dac_mode(I2S_DAC_CHANNEL_RIGHT_EN);
but initialisation steel use both GPIO25 and GPIO26 for internal DAC, and im making some more changes
i2s_set_pin(I2S_NUM_0, NULL) //NULL is using both GPIOs
change to
i2s_set_pin(I2S_NUM_0, &pin_config);
and adding GPIO struct
static const i2s_pin_config_t pin_config = {
.data_out_num = 25
};
Now all work fine (but SPI work only on 26-30 mHz, for TTGO T4 need additional change in spi_lcd.c)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.