Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlewis committed Sep 9, 2022
0 parents commit 1a553c9
Show file tree
Hide file tree
Showing 105 changed files with 29,163 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Space Race for Analogue Pocket

+ FPGA implementation of Arcade _Space Race_ (Atari, 1973) for Analogue Pocket.
+ Based on Rev.F schematics.
+ Ported from the [original MiSTer implementation.](https://github.com/MiSTer-devel/Arcade-SpaceRace_MiSTer)
+ Multiplayer support via dock.

## Inputs
```
Coin : Start
Start : Select
Move forward : DPAD UP
Move backward : DPAD DOWN
```

## Known Issues

+ Sound is a bit harsh.
+ Colors are a bit dim.
+ DIP switches are not implemented.
+ No platform image.

## License

GNU General Public License v2.0.
5 changes: 5 additions & 0 deletions dist/Cores/ericlewis.SpaceRace/audio.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"audio": {
"magic": "APF_VER_1"
}
}
Binary file added dist/Cores/ericlewis.SpaceRace/bitstream.rbf_r
Binary file not shown.
34 changes: 34 additions & 0 deletions dist/Cores/ericlewis.SpaceRace/core.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"core": {
"magic": "APF_VER_1",
"metadata": {
"platform_ids": ["spacerace"],
"shortname": "SpaceRace",
"description": "Race in space!",
"author": "ericlewis",
"url": "https://github.com/ericlewis/openfpga-spacerace",
"version": "0.0.1",
"date_release": "2022-09-09"
},
"framework": {
"target_product": "Analogue Pocket",
"version_required": "1.1",
"sleep_supported": false,
"dock": {
"supported": true,
"analog_output": false
},
"hardware": {
"link_port": false,
"cartridge_adapter": -1
}
},
"cores": [
{
"name": "default",
"id": 0,
"filename": "bitstream.rbf_r"
}
]
}
}
6 changes: 6 additions & 0 deletions dist/Cores/ericlewis.SpaceRace/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"magic": "APF_VER_1",
"data_slots": []
}
}
Binary file added dist/Cores/ericlewis.SpaceRace/icon.bin
Binary file not shown.
1 change: 1 addition & 0 deletions dist/Cores/ericlewis.SpaceRace/info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Arcade game Space Race (Atari, 1973) based on Rev.F schematics. Ported from MiSTer.
22 changes: 22 additions & 0 deletions dist/Cores/ericlewis.SpaceRace/input.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"input": {
"magic": "APF_VER_1",
"controllers": [
{
"type": "default",
"mappings": [
{
"id": 2,
"name": "P1 Start",
"key": "pad_btn_select"
},
{
"id": 3,
"name": "Insert Coin",
"key": "pad_btn_start"
}
]
}
]
}
}
7 changes: 7 additions & 0 deletions dist/Cores/ericlewis.SpaceRace/interact.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"interact": {
"magic": "APF_VER_1",
"variables": [],
"messages": []
}
}
6 changes: 6 additions & 0 deletions dist/Cores/ericlewis.SpaceRace/variants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"variants": {
"magic": "APF_VER_1",
"variant_list": []
}
}
15 changes: 15 additions & 0 deletions dist/Cores/ericlewis.SpaceRace/video.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"video": {
"magic": "APF_VER_1",
"scaler_modes": [
{
"width": 372,
"height": 240,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
}
]
}
}
8 changes: 8 additions & 0 deletions dist/Platforms/spacerace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"platform": {
"category": "Arcade",
"name": "Space Race",
"year": 1973,
"manufacturer": "Atari"
}
}
Empty file added output/.gitkeep
Empty file.
Binary file added output/bitstream.rbf_r
Binary file not shown.
28 changes: 28 additions & 0 deletions src/fpga/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
*/db/
*/incremental_db/
*/simulation/
*/greybox_tmp/
incremental_db/
db/
PLLJ_PLLSPE_INFO.txt
c5_pin_model_dump.txt
cr_ie_info.json
*.pin
*.pof
*.ptf.*
*.qar
*.qarlog
*.qws
*.rpt
*.smsg
*.sof
*.sopc_builder
*.summary
*.txt
*.bak
*.cmp
*.done
*.xml
*.sld
*.cdf

31 changes: 31 additions & 0 deletions src/fpga/ap_core.qpf
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# -------------------------------------------------------------------------- #
#
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# Your use of Intel Corporation's design tools, logic functions
# and other software and tools, and any partner logic
# functions, and any output files from any of the foregoing
# (including device programming or simulation files), and any
# associated documentation or information are expressly subject
# to the terms and conditions of the Intel Program License
# Subscription Agreement, the Intel Quartus Prime License Agreement,
# the Intel FPGA IP License Agreement, or other applicable license
# agreement, including, without limitation, that your use is for
# the sole purpose of programming logic devices manufactured by
# Intel and sold by Intel or its authorized distributors. Please
# refer to the applicable agreement for further details, at
# https://fpgasoftware.intel.com/eula.
#
# -------------------------------------------------------------------------- #
#
# Quartus Prime
# Version 18.1.1 Build 646 04/11/2019 SJ Lite Edition
# Date created = 21:31:36 January 22, 2020
#
# -------------------------------------------------------------------------- #

QUARTUS_VERSION = "18.1"
DATE = "21:31:36 January 22, 2020"

# Revisions

PROJECT_REVISION = "ap_core"
Loading

0 comments on commit 1a553c9

Please sign in to comment.