Skip to content

Commit e5f9c0a

Browse files
v1.0
0 parents  commit e5f9c0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+10784
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Example: Basic Assets
2+
This example demonstrates loading and displaying a static image and audio from selectable asset files out of RAM. A square is drawn over the top of the image, which can be controlled with user input.
3+
* SDRAM controller
4+
* Video generation
5+
* I2S audio generation
6+
* User input (DPAD = move square, B = green square, A = pink square, X = replay audio)
7+
* Reload assets during runtime via the Core Settings menu
8+
* Core menu signaling (box moves while OS menu is active)
9+
10+
11+
## Legal
12+
Analogue’s Development program was created to further video game hardware preservation with FPGA technology. Analogue does not support or endorse the use of infringing content.
13+
14+
Analogue Developers have access to Analogue Pocket I/O’s so Developers can utilize cartridge adapters or interface with other pieces of original or bespoke hardware to support legacy media.

audio.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"audio": {
3+
"magic": "APF_VER_1"
4+
}
5+
}

core.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"core": {
3+
"magic": "APF_VER_1",
4+
"metadata": {
5+
"platform_ids": [
6+
"ex_platform"
7+
],
8+
"shortname": "Basic Assets",
9+
"description": "APF core example. Displays image and plays audio.",
10+
"author": "Example Author",
11+
"url": "https://github.com/open-fpga",
12+
"version": "1.0.0",
13+
"date_release": "2022-08-23"
14+
},
15+
"framework": {
16+
"target_product": "Analogue Pocket",
17+
"version_required": "1.1",
18+
"sleep_supported": false,
19+
"dock": {
20+
"supported": true,
21+
"analog_output": false
22+
},
23+
"hardware": {
24+
"link_port": false,
25+
"cartridge_adapter": -1
26+
}
27+
},
28+
"cores": [
29+
{
30+
"name": "default",
31+
"id": 0,
32+
"filename": "bitstream.rbf_r"
33+
}
34+
]
35+
}
36+
}

data.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"data": {
3+
"magic": "APF_VER_1",
4+
"data_slots": [
5+
{
6+
"name": "Background",
7+
"id": 1,
8+
"required": true,
9+
"parameters": 3,
10+
"extensions": [
11+
"bin"
12+
],
13+
"size_exact": 184320,
14+
"address": "0x00000000"
15+
},
16+
{
17+
"name": "Audio",
18+
"id": 99,
19+
"required": true,
20+
"parameters": 3,
21+
"extensions": [
22+
"wav"
23+
],
24+
"size_exact": 0,
25+
"size_maximum": "0x3C00000",
26+
"address": "0x00400000"
27+
}
28+
]
29+
}
30+
}

dist/.gitkeep

Whitespace-only changes.

dist/assets/.keep

Whitespace-only changes.

dist/assets/ex_audio_1.wav

1.28 MB
Binary file not shown.

dist/assets/ex_audio_2.wav

2.29 MB
Binary file not shown.

dist/assets/ex_image_1.bin

180 KB
Binary file not shown.

dist/assets/ex_image_2.bin

180 KB
Binary file not shown.

0 commit comments

Comments
 (0)