Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlewis committed Sep 12, 2022
0 parents commit 67fbb1a
Show file tree
Hide file tree
Showing 83 changed files with 15,242 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Lunar Lander for Analogue Pocket

+ FPGA implementation of Arcade _Lunar Lander_ (Atari, 1979) for Analogue Pocket.
+ Based on Rev.2 schematics.
+ Ported from the [original MiSTer implementation.](https://github.com/MiSTer-devel/Arcade-LunarLander_MiSTer)
+ Multiplayer support via dock.

## Known Issues

+ DIP switches are not implemented.

## ROM Instructions

ROM files are not included, you must use [mra-tools-c](https://github.com/sebdel/mra-tools-c/) to convert to a singular `llander.rom` file, then place the ROM file in `/Assets/lunarlander/ericlewis.LunarLander`.
Empty file.
5 changes: 5 additions & 0 deletions dist/Cores/ericlewis.LunarLander/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.LunarLander/bitstream.rbf_r
Binary file not shown.
34 changes: 34 additions & 0 deletions dist/Cores/ericlewis.LunarLander/core.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"core": {
"magic": "APF_VER_1",
"metadata": {
"platform_ids": ["lunarlander"],
"shortname": "LunarLander",
"description": "Atari's 1979 Lunar Lander.",
"author": "ericlewis",
"url": "https://github.com/ericlewis/openfpga-lunarlander",
"version": "0.0.1",
"date_release": "2022-09-12"
},
"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"
}
]
}
}
17 changes: 17 additions & 0 deletions dist/Cores/ericlewis.LunarLander/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"data": {
"magic": "APF_VER_1",
"data_slots": [
{
"name": "ROM",
"id": 101,
"required": true,
"parameters": 2,
"filename": "llander.rom",
"size_exact": 0,
"size_maximum": 131072,
"address": "0x00000000"
}
]
}
}
Binary file added dist/Cores/ericlewis.LunarLander/icon.bin
Binary file not shown.
1 change: 1 addition & 0 deletions dist/Cores/ericlewis.LunarLander/info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Atari's Lunar Lander released in 1979. Ported from MiSTer.
42 changes: 42 additions & 0 deletions dist/Cores/ericlewis.LunarLander/input.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"input": {
"magic": "APF_VER_1",
"controllers": [
{
"type": "default",
"mappings": [
{
"id": 0,
"name": "Increase Thrust",
"key": "pad_btn_a"
},
{
"id": 1,
"name": "Decrease Thrust",
"key": "pad_btn_b"
},
{
"id": 2,
"name": "Abort",
"key": "pad_trig_l"
},
{
"id": 3,
"name": "Insert Coin",
"key": "pad_trig_r"
},
{
"id": 4,
"name": "Start",
"key": "pad_btn_start"
},
{
"id": 5,
"name": "Select",
"key": "pad_btn_select"
}
]
}
]
}
}
7 changes: 7 additions & 0 deletions dist/Cores/ericlewis.LunarLander/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.LunarLander/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.LunarLander/video.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"video": {
"magic": "APF_VER_1",
"scaler_modes": [
{
"width": 640,
"height": 480,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
}
]
}
}
Binary file added dist/Platforms/_images/lunarlander.bin
Binary file not shown.
8 changes: 8 additions & 0 deletions dist/Platforms/lunarlander.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"platform": {
"category": "Arcade",
"name": "Lunar Lander",
"year": 1979,
"manufacturer": "Atari"
}
}
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 67fbb1a

Please sign in to comment.