Skip to content

Commit ec5f3a7

Browse files
committed
Add superficial version for xseries
1 parent bdb6a8c commit ec5f3a7

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ The aim is to reach feature parity with [ED64-UnofficialOS](https://github.com/n
126126
Download the `OS64.v64` ROM from the latest [action run - assets] and place it in the `/ED64` folder.
127127

128128
#### ED64 (X series)
129-
X Series support is currently awaiting fixes. Please use the official [OS](https://krikzz.com/pub/support/everdrive-64/x-series/OS/) for now.
129+
The aim is to reach feature parity with [OS](https://krikzz.com/pub/support/everdrive-64/x-series/OS/) for now.
130+
Download the `OS64.v64` ROM from the latest [action run - assets] and place it in the `/ED64` folder.
130131

131132
#### ED64 (P clone)
132133
Download the `OS64P.v64` ROM from the latest [action run - assets] and place it in the `/ED64P` folder.

src/flashcart/ed64/ed64_xseries.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@ typedef enum {
2424
/* ED64 ROM location base address */
2525
#define ROM_ADDRESS (0xB0000000)
2626

27+
static flashcart_firmware_version_t ed64_xseries_get_firmware_version (void) {
28+
flashcart_firmware_version_t version_info;
29+
// FIXME: get version from ll
30+
version_info.major = 1;
31+
version_info.minor = 1;
32+
version_info.revision = 0;
33+
34+
//ed64_ll_get_version(&version_info.major, &version_info.minor, &version_info.revision);
35+
36+
return version_info;
37+
}
38+
2739
static flashcart_err_t ed64_xseries_init (void) {
2840

2941
return FLASHCART_OK;
@@ -147,6 +159,7 @@ static flashcart_t flashcart_ed64_xseries = {
147159
.init = ed64_xseries_init,
148160
.deinit = ed64_xseries_deinit,
149161
.has_feature = ed64_xseries_has_feature,
162+
.get_firmware_version = ed64_xseries_get_firmware_version,
150163
.load_rom = ed64_xseries_load_rom,
151164
.load_file = ed64_xseries_load_file,
152165
.load_save = ed64_xseries_load_save,

0 commit comments

Comments
 (0)