Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge develop into main #2

Merged
merged 5 commits into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/makefile-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Develop

on:
push:
branches: [ "develop" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Make All
run: make all
16 changes: 16 additions & 0 deletions .github/workflows/makefile-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Main

on:
push:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Make All
run: make all
39 changes: 10 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,22 @@
### ez80op
## ez80op

This program gives information on eZ80 opcodes.

#### Building
## Build Status

Perform the following commands to compile the project:
![main](https://github.com/andymccall/ez80op/actions/workflows/makefile-main.yml/badge.svg?branch=main) ![develop](https://github.com/andymccall/ez80op/actions/workflows/makefile-develop.yml/badge.svg?branch=develop)

```
## Building

username@host:~$ cd agon-development/ez80op/c
username@host:~$ make
[compiling] src/main.c
[lto opt] obj/lto.bc
[linking] bin/ez80op.bin
```

#### Running the program

The newly built program can be run within the Fab Emulator using the following commands:
Perform the following commands to compile the project:

```
username@host:~$ make run
username@host:~$ cd ez80op/
username@host:~$ make
```

This will launch the Fab emulator. Once the emulator has started check the binary is accessible to the emulator by using the dir command:

```
/ *dir
Volume: hostfs
Directory: /
## Found this useful?

ez80op.bin ez80op.map
```
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/andymccall)

Then run the binary using by loading it and issuing the run command:

```
/ * load ez80op.bin
/ * run
```
I don't write code, documents or software for profit, I do it for enjoyment and to help others. If you get anything useful from this guide, and only if you can afford it, please let me know by buying me a coffee using my Ko-fi tip page [here](https://ko-fi.com/andymccall).