Skip to content

Bringing 8bit-Hub branch up-to-date - #1

Open
8bit-Dude wants to merge 167 commits into
8bit-Dude:masterfrom
pete-gordon:master
Open

Bringing 8bit-Hub branch up-to-date#1
8bit-Dude wants to merge 167 commits into
8bit-Dude:masterfrom
pete-gordon:master

Conversation

@8bit-Dude

Copy link
Copy Markdown
Owner

Hey Guys! I would like to bring my 8bit-Hub branch of Oricutron up-to-date, but apparently this requires a pull request.
Thanks in advance!

iss and others added 10 commits January 31, 2023 19:31
Twilighteboard firmware 2 management and various fixes
This change is best appreciated by pressing Ctrl-G in Oricutron before
and after the change.

The 8912 model has long been modelling the audio channels accurately from
cycle to cycle, but only sampled them sparsely with a 44.1 kHz interval.
The sparse sampling gives significant aliasing noise, mainly affecting
high pitched sounds.

The present change replaces the sparse sampling with averaging. Within
each sample interval, the cycle by cycle model output is added up, then
finally divided to form the audio output sample.

We retain the pre-existing newout mechanism to save cycle by cycle work.

This is not a state of the art re-sampling technique, but it reduces the
aliasing significantly, making PING sound close to on a real Oric.
erik-persson and others added 19 commits November 19, 2023 13:20
Purpose of this change:
* To make Oricutron runnable without cd'ing to its directory first
* To support relative paths with the -t option
* On macOS, to help command line users by not requiring a bundled app,
  allow "./oricutron" in the source directory much like under Linux.
* To make the macOS version runnable from the source directory like
  you might expect if coming from Linux, e.g. by "make && ./oricutron".

Code changes:
* Factor out FILEPREFIX from ROMPREFIX and IMAGEPREFIX constants
* Apply FILEPREFIX for all filenames in oricutron.cfg which was
  done previously only for the keymap path
* Let function get_fileprefix() replace the FILEPREFIX constant,
  and use run-time concatenation instead of compile-time
* For Linux let get_fileprefix() return program binary's directory
* For macOS, let get_fileprefix() return parent of .app bundle if
  the program is bundled, otherwise do as in Linux.
* local branch for www dev

* emcmake cmake .. is now working

* Readme file
First push to origin

* Menus are now working.
Need to debug filerequestors.

* Added a warning about the gfx_atmoskbd.psd which is quite big and useless for Oricutron.

* Menus are starting to work even though there are still some memory problems from time to time.
Also fixed Mac compilation of the SDL2 version which is WAY faster.

* Fixing deprecation of NSAlertDefaultReturn in filereq_osx.m

* The web version is now able to download .dsk and .tap files from the same directory on the webserver.
Moreover these files are stored in the browser's IndexedDB so that you can save your modifications to the files.

* Added a solution for people who do not have PHP on their website.
Removed a few useless traces and work around bugs (audio not pausing) that cannot be solved (emscripten and/or SDL port bugs).

* Updating the current version of Oricutron.js

* Mistakenly overwrote the good oricutron.html file. Going back to the previous committed version.
Thanks a lot to git for being able to correct my gitty blunders ;)

* Persisting snapshot and tape saves to IDBFS.
Ie you can now save snapshots and ort tapes in your browser storage.

* You can now download tape, dsk or snapshot files to your computer.

* Simplifying the code to be able to better debug.
Added compile options to disable the Monitor, the Pravetz (partial) and the Oric1 (partial) hardwares.

---------

Co-authored-by: Patrice Torguet <patrice.torguet@irit.fr>
Co-authored-by: Patrice Torguet <torguet@gmail.com>
* Add LICENSE.txt to the project: GPLV2, as per source headers.

* Add the --nostatusbar argument
* hacking around to get oricutron build/run'able on mojave 10.14.5

* Tweaks to make master.j buildable

* Add LICENSE.txt to the project: GPLV2, as per source headers.

* Add the --nostatusbar argument

* Update cmake-sdl1-win64.yml

Add "on: workflow_dispatch" to enable Run.

* Update cmake-sdl1-win64.yml

* Merge gui.c from pete-gordons' repo

* Update cmake-sdl1-win64.yml

Add "Upload Build" artefact.

* Update cmake-win64.yml

Added artefact save to workflow.

* Update cmake-sdl1.yml

Add Build artefacts to workflow.

* Update cmake.yml

Add build artefacts to workflow.

* Artefact actions should be @v4

* fix SDL define

* www: CMake now builds SDL2 as a _dep instead of searching for it locally

* .gitignore fixed

* Makefile: use build/ for PKG_DIR by default

* .gitignore: oricutron binary build

* Delete Oricutron_osx_v12/ package from repo - now gets put in build/, which is .gitignore'd

* Remove local Frameworks path

---------

Co-authored-by: Jay Vaughan <seclorum@icloud.com>
Co-authored-by: Jay Vaughan <ibisum@gmail.com>
- Replaced the 3200 value by a AXIS_THRESHOLD define set to 8000 to limit the problems of accuracy when using analog sticks (it was difficult to go in a perfect direction without wobbling on the side)
- Added an enum for  the various entries of the joystate array (JOYSTATE_UP is more readable than 0)
- Added a value to the state array to store the type of joystick
- Modified the IJK and ALTAI codepath to merge the FIRE2 and FIRE3 events with FIRE1 so all action buttons can be used on a joystick with more than one fire button
- Added support for the second analog stick of most modern controllers
- Added support for dpad of Xbox and PlayStation controllers
Co-authored-by: Stefan A. Haubenthal <polluks@sdf.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.