Skip to content

Commit 56ee7a9

Browse files
committed
Move hardware test harness to k0test repo
https://github.com/mnaberez/k0test
1 parent b48277f commit 56ee7a9

63 files changed

Lines changed: 3 additions & 1127647 deletions

Some content is hidden

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

.github/workflows/main.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,16 @@ jobs:
1616
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020

2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

26-
- name: Install asxxxx
27-
run: |
28-
wget --no-verbose https://github.com/6502org/6502.org/raw/74f5d0c0f9b73d5e353bde7b3b25ea7f43b527a1/public/tools/asm/asxs5p50.zip
29-
unzip -q asxs5p50.zip
30-
make -C asxv5pxx/asxmak/linux/build all
31-
echo "$PWD/asxv5pxx/asxmak/linux/build" >> $GITHUB_PATH
32-
33-
- name: Install srecord
34-
run: |
35-
sudo apt-get update
36-
sudo apt-get install -y srecord
37-
3826
- name: Show Python version
3927
run: python -V
4028

41-
- name: Assemble debugger firmware
42-
run: make -C k0emu/debugger/firmware
43-
4429
- name: Install dependencies
4530
run: $PIP install k0dasm
4631

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
__pycache__/
1414
build/
1515
dist/
16-
k0emu/debugger/testprogs/results/emulator/

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ k0emu is an instruction set emulator for running Renesas (NEC) 78K0 binaries. I
88

99
k0emu was developed to aid in reverse engineering of the `Volkswagen Premium V <https://github.com/mnaberez/vwradio>`_ car radios made by Delco. These radios use the undocumented NEC µPD78F0831Y microcontroller, which is similar to the `µPD78F0833Y <https://web.archive.org/web/20180328161019/https://www.renesas.com/en-us/doc/DocumentServer/021/U13892EJ2V0UM00.pdf>`_. A companion program, `k0dasm <https://github.com/mnaberez/k0dasm>`_, was also developed for this project.
1010

11-
Since no open source 78K0 emulator could be found at the time of development, a hardware test harness was built. The harness is included with k0emu and is based on the µPD78F0831Y. Instructions were first implemented as described in the documentation. Test programs were then written and run on both k0emu and the real hardware. When the results of k0emu were different, k0emu was fixed to behave like the hardware. This process gives confidence that k0emu implements the instructions correctly.
11+
Since no open source 78K0 emulator could be found at the time of development, a hardware [test harness](https://github.com/mnaberez/k0test) based on the µPD78F0831Y was built. Instructions were first implemented as described in the documentation. Test programs were then written and run on both k0emu and the real hardware. When the results of k0emu were different, k0emu was fixed to behave like the hardware. This process gives confidence that k0emu implements the instructions correctly.
1212

1313
Features
1414
--------

k0emu/debug.py

Lines changed: 0 additions & 134 deletions
This file was deleted.

k0emu/debugger/firmware/Makefile

Lines changed: 0 additions & 17 deletions
This file was deleted.

k0emu/debugger/firmware/debugger.asm

Lines changed: 0 additions & 143 deletions
This file was deleted.

k0emu/debugger/testprogs/diff.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)