I hereby claim:
- I am erique on github.
- I am erique (https://keybase.io/erique) on keybase.
- I have a public key ASDnBq7uQpFQyXXrkskejbhCb3hBYwCtUIaJNorteV9v8go
To claim this, I am signing this object:
#/bin/bash | |
# | |
# 1) Write out the LITE version of the 32-bit Raspberry PI OS to an SDCARD | |
# Either using the 'Raspberry PI Imager': | |
# Use : 'Raspberry PI OS (other)' -> 'Raspberry PI OS Lite (32-bit)' | |
# Or download the image and write it out manually | |
# xzcat yyyy-mm-dd-...-armhf-lite.img.xz | ddxof=/dev/sdX bs=65536 status=progress | |
# | |
# 2) Boot the SDCARD with HDMI and USB Keyboard attached |
// m68k-amigaos-gcc irq_perf.c -o irq_perf -noixemul -O2 -m68020 --omit-frame-pointer | |
#include <stdio.h> | |
#include <stdarg.h> | |
#include <proto/exec.h> | |
#include <proto/timer.h> | |
#include <exec/execbase.h> | |
#include <devices/timer.h> |
// m68k-amigaos-gcc -noixemul -m68060 -lm ceil_error.c -o ceil_error | |
#include <stdio.h> | |
#include <math.h> | |
int main() | |
{ | |
printf("GCC %s\n", __VERSION__); | |
double value = 3.125; |
// m68k-amigaos-gcc -O0 -m68060 -mhard-float casttest.c -o casttest | |
#include <stdio.h> | |
int main() | |
{ | |
printf("GCC %s\n", __VERSION__); | |
uint64_t i = 1; | |
double d = i; | |
printf("d = %f ; %s\n", d, (d == 1.0) ? "PASS" : "FAIL"); | |
return 0; | |
} |
/*-------------------------------------------------------------------- | |
* Replay Firmware | |
* www.fpgaarcade.com | |
* All rights reserved. | |
* | |
* admin@fpgaarcade.com | |
* | |
* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at https://mozilla.org/MPL/2.0/. |
AmigaOS exec.library 'CopyMem()' comparison for the FPGAArcade Replay 'amiga_68060' core. | |
Using regular KS3.0: | |
+----------------------------------------+ | |
| CMBench 1.2 (11.10.2020) | | |
| AmigaOS Exec->CopyMem() benchmark | | |
+----------------------------------------+ | |
| Source: 0x012ac9b8 (aligned by 8) | | |
| Destination: 0x014b1880 (aligned by 8) | |
// m68k-amigaos-gcc -Wall -Wno-pointer-sign -noixemul timer_example.c -o timer_example | |
#include <stdio.h> | |
#include <exec/types.h> | |
#include <exec/interrupts.h> | |
#include <exec/io.h> | |
#include <dos/dos.h> | |
#include <inline/exec.h> | |
#include <inline/timer.h> |
xxd -c 4 -g 1 kick.rom | awk '{printf $5 $4 "\n"}' | xxd -p -r > test-lo.rom && cat test-lo.rom test-lo.rom > test-lo.bin | |
xxd -c 4 -g 1 kick.rom | awk '{printf $3 $2 "\n"}' | xxd -p -r > test-hi.rom && cat test-hi.rom test-hi.rom > test-hi.bin | |
minipro -y -p "AM29F400BB@TSOP48" --write test-hi.bin | |
minipro -y -p "AM29F400BB@TSOP48" --write test-lo.bin |
#!/bin/bash | |
echo "# =================================================" | |
echo "# cloning a stable build script" | |
echo "# =================================================" | |
git clone git@github.com:bebbo/amiga-gcc.git | |
cd amiga-gcc | |
git reset --hard af8fc421d492302afbb2feb694cbe46ed223476c |
I hereby claim:
To claim this, I am signing this object: