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

Some GitHub Workflow setup #10

Open
wants to merge 185 commits into
base: main
Choose a base branch
from

Commits on Oct 14, 2021

  1. add m68k target llvm build step

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    1458666 View commit details
    Browse the repository at this point in the history
  2. fix folder reference for CMakeLists.txt

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    bedcbad View commit details
    Browse the repository at this point in the history
  3. add ninja as build dependency

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    3b6086f View commit details
    Browse the repository at this point in the history
  4. add ninja as build dependency

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    0b52a88 View commit details
    Browse the repository at this point in the history
  5. add ninja as build dependency

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    ac174e2 View commit details
    Browse the repository at this point in the history
  6. add lld as build dependency

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    86a6743 View commit details
    Browse the repository at this point in the history
  7. remove spurious lld dependency (already present by default), drop -B …

    …build parameter for cmake
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8ed804c View commit details
    Browse the repository at this point in the history
  8. swap lld linker for 'gold' to fix cmake error

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    e2d80be View commit details
    Browse the repository at this point in the history
  9. github actions will not work here: not enough disk space on standard …

    …machine
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    662ddb3 View commit details
    Browse the repository at this point in the history
  10. build forked llvm with m68k support

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    7f28c2e View commit details
    Browse the repository at this point in the history
  11. build forked Rust toolchain, fails on missing llvm-c/BitReader.h

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    0d8352a View commit details
    Browse the repository at this point in the history
  12. maybe fix missing header file by building with install

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c00678b View commit details
    Browse the repository at this point in the history
  13. show progress on huge checkout

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    fd2160e View commit details
    Browse the repository at this point in the history
  14. parameterize jobs for compilation, merge build and install steps

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    4f6a3a8 View commit details
    Browse the repository at this point in the history
  15. switch to llvm release build instead of release with debug info

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    901ca9a View commit details
    Browse the repository at this point in the history
  16. fix installation dependencies in pkg-config, libssl-dev and rustup

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    08499de View commit details
    Browse the repository at this point in the history
  17. rename to toolchain extension

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    6a05d6f View commit details
    Browse the repository at this point in the history
  18. combine toolchain build deps, clean apt cache

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    0b99477 View commit details
    Browse the repository at this point in the history
  19. link build toolchain to m68k name, (try to) build sega mega drive stu…

    …ff (fails for now)
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    ea0e4b7 View commit details
    Browse the repository at this point in the history
  20. fix unavailable panic unwind 'eh_personality' error by aborting on panic

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    b16a4b5 View commit details
    Browse the repository at this point in the history
  21. fix cargo path commands

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    637c44f View commit details
    Browse the repository at this point in the history
  22. add maintainer, add $HOME/.cargo/bin to path, move rust-mega-drive st…

    …uff to main Dockerfile
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    4508613 View commit details
    Browse the repository at this point in the history
  23. fix path reference

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    6c15a96 View commit details
    Browse the repository at this point in the history
  24. add some dockerized build instructions

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    345506d View commit details
    Browse the repository at this point in the history
  25. interpunction

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    a99bdf6 View commit details
    Browse the repository at this point in the history
  26. replace HOME-relative cargo invocation with simple cargo now that i…

    …t is added to PATH
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    9284396 View commit details
    Browse the repository at this point in the history
  27. ignore git and docker stuff to put into docker image

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    cd663df View commit details
    Browse the repository at this point in the history
  28. move megapong compilation into default docker CMD

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    fc8ac60 View commit details
    Browse the repository at this point in the history
  29. parameterize targets

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    4df221b View commit details
    Browse the repository at this point in the history
  30. comment

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    1f89d42 View commit details
    Browse the repository at this point in the history
  31. niceify rustup install with minimal profile, use custom-built rustc a…

    …nd cargo paths
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8892d40 View commit details
    Browse the repository at this point in the history
  32. point MEGADRIVE_HOME to 'share' folder

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    6bb2c24 View commit details
    Browse the repository at this point in the history
  33. update build instructions, fix MEGADRIVE_HOME path reference

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    ada48df View commit details
    Browse the repository at this point in the history
  34. recompile alloc to allow usage of alloc::* in megadrive crates, suc…

    …h as `Vec` and `Box`
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    d730fa0 View commit details
    Browse the repository at this point in the history
  35. remove redundant "m68k-none-eabi" compile backend

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    a997a9d View commit details
    Browse the repository at this point in the history
  36. add workflow to build and push main toolchain image

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    6283386 View commit details
    Browse the repository at this point in the history
  37. add dependabot actions to check workflows

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    3d008c0 View commit details
    Browse the repository at this point in the history
  38. don't put github workflows CI in Docker images

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    35b3d66 View commit details
    Browse the repository at this point in the history
  39. fix triggers

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    65e3a69 View commit details
    Browse the repository at this point in the history
  40. fix triggers

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    fab8ace View commit details
    Browse the repository at this point in the history
  41. move dependabot defs to correct folder

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    5e0e137 View commit details
    Browse the repository at this point in the history
  42. listen to push event to try & make github recognize the manual trigger

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    cd26d92 View commit details
    Browse the repository at this point in the history
  43. add missing runs-on key/val

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    5a1fbbd View commit details
    Browse the repository at this point in the history
  44. drop redundant build args

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    4bb74ce View commit details
    Browse the repository at this point in the history
  45. fix tag format

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8c5e298 View commit details
    Browse the repository at this point in the history
  46. fix tags

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    dbf7e9b View commit details
    Browse the repository at this point in the history
  47. fix tags

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f75ae13 View commit details
    Browse the repository at this point in the history
  48. don't run workflow on every push

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    d51ba37 View commit details
    Browse the repository at this point in the history
  49. set up workflow for cargo megadrive extension

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    ad364d4 View commit details
    Browse the repository at this point in the history
  50. Repurpose main Dockerfile for installing the cargo 'megadrive' command

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    36507f5 View commit details
    Browse the repository at this point in the history
  51. fix erroneously added line 1

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f3f4923 View commit details
    Browse the repository at this point in the history
  52. fix Dockerfile filename

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    7657c4f View commit details
    Browse the repository at this point in the history
  53. WIP add convenience docker compose file as example

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    5b562f5 View commit details
    Browse the repository at this point in the history
  54. reference published version of Docker image with Rust and Cargo megad…

    …rive extension
    
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    bd02013 View commit details
    Browse the repository at this point in the history
  55. use only manually triggers for workflow

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    9f1909b View commit details
    Browse the repository at this point in the history
  56. WIP create a lib that uses a random number generator

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    a5b8211 View commit details
    Browse the repository at this point in the history
  57. copy over bootstrap assembler instructions

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    b4fcc32 View commit details
    Browse the repository at this point in the history
  58. fix stray typo

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    2be4c9e View commit details
    Browse the repository at this point in the history
  59. add megatowerdefense example to root crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    01ec7eb View commit details
    Browse the repository at this point in the history
  60. WIP try & add rand crate in order to use rng

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    de11b4d View commit details
    Browse the repository at this point in the history
  61. WIP try & add libc in order to placate rand dependency on libc

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    10b27fc View commit details
    Browse the repository at this point in the history
  62. debug: first do a standard cargo build before trying to build megadri…

    …ve binary
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    4b97fcc View commit details
    Browse the repository at this point in the history
  63. add default megadrive stuff

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    75bb120 View commit details
    Browse the repository at this point in the history
  64. fix libc compile errors by disabling default features

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    3119c9a View commit details
    Browse the repository at this point in the history
  65. WIP: try & fix ld.lld: error: undefined symbol: __mulsi3 errors (bu…

    …t fails)
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    094b3f3 View commit details
    Browse the repository at this point in the history
  66. no RngCore needed for .gen_range method, add panic handler back in

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    02d95c1 View commit details
    Browse the repository at this point in the history
  67. WIP: try & fix __mulsi3 errors (but failing)

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    edfd7ce View commit details
    Browse the repository at this point in the history
  68. remove debug build step

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    46ce38f View commit details
    Browse the repository at this point in the history
  69. remove references to rand crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    646e459 View commit details
    Browse the repository at this point in the history
  70. remove nonfunctional rustc flags

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8fdf4db View commit details
    Browse the repository at this point in the history
  71. add struct to generate random numbers from horizontal and vertical gr…

    …aphics counter
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    3ef33f9 View commit details
    Browse the repository at this point in the history
  72. map to /target at root to copy built files to

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    1f3452c View commit details
    Browse the repository at this point in the history
  73. drop unused seed struct property

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    0f5ba41 View commit details
    Browse the repository at this point in the history
  74. import required deps, add some random tiles

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8a2fcc3 View commit details
    Browse the repository at this point in the history
  75. upload the tiles to the vdp instance, render the tile based on a coin…

    … flip
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    308bd47 View commit details
    Browse the repository at this point in the history
  76. add missing rendering calls, fix offset

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c37d564 View commit details
    Browse the repository at this point in the history
  77. add convenience script to build project

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    24f95ea View commit details
    Browse the repository at this point in the history
  78. It works! Fix missing xor ops in random function.

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    1e97a94 View commit details
    Browse the repository at this point in the history
  79. display either 0 or 1

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    6eee779 View commit details
    Browse the repository at this point in the history
  80. add allocator for heap implementation

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    170f0a2 View commit details
    Browse the repository at this point in the history
  81. drop unusable crates.io packages

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    1c98d77 View commit details
    Browse the repository at this point in the history
  82. add heap and hole implementations to example code for now

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    5968046 View commit details
    Browse the repository at this point in the history
  83. add heap and hole implementations to example code for now

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8c36216 View commit details
    Browse the repository at this point in the history
  84. fix heap compile errors except &mut self reference

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    65f8694 View commit details
    Browse the repository at this point in the history
  85. re-scope to a coinflip-like crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    e004424 View commit details
    Browse the repository at this point in the history
  86. move random number generator into sys module

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    b270c02 View commit details
    Browse the repository at this point in the history
  87. turn flipped coin into Vec example

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c417e44 View commit details
    Browse the repository at this point in the history
  88. move heap implementation into sys crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c9b8faa View commit details
    Browse the repository at this point in the history
  89. extract out tile index variable, drop redundant comment

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f042f1c View commit details
    Browse the repository at this point in the history
  90. move heap declaration into sys crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    232521d View commit details
    Browse the repository at this point in the history
  91. Wrap Heap in Mutex to allow immutable ref

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    e6e9006 View commit details
    Browse the repository at this point in the history
  92. drop dead code

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c25bb4d View commit details
    Browse the repository at this point in the history
  93. move crate ref to top

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    35f7042 View commit details
    Browse the repository at this point in the history
  94. WIP: try & recompile alloc

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c042af2 View commit details
    Browse the repository at this point in the history
  95. move heap/alloc stuff into separate crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    12fe844 View commit details
    Browse the repository at this point in the history
  96. drop dead cargo configuration

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    d8cd7df View commit details
    Browse the repository at this point in the history
  97. move random number generator into separate "util" crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    eb3edff View commit details
    Browse the repository at this point in the history
  98. add safety comments

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    354d4be View commit details
    Browse the repository at this point in the history
  99. expose only the allocator: it will be used to initialize for crates t…

    …hat require heap allocations.
    
    Initialized as `empty()`, the allocator will only return None allocations.
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    cb7029f View commit details
    Browse the repository at this point in the history
  100. replace heap import with the allocator to initialize at runtime witho…

    …ut arguments. The size of the heap will be managed by the megadrive_alloc crate itself.
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    5e71f62 View commit details
    Browse the repository at this point in the history
  101. replace single-threaded mutex with compiler-provided RefCell to man…

    …age runtime-enabled rules for mutable borrows
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c3fbdbf View commit details
    Browse the repository at this point in the history
  102. use unicorn heap() function to initialize the heap allocator

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    fff33e6 View commit details
    Browse the repository at this point in the history
  103. drop unused new constructor

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    49f3401 View commit details
    Browse the repository at this point in the history
  104. newline

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    a8467de View commit details
    Browse the repository at this point in the history
  105. drop unused no_mutex crate import

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    2c610a2 View commit details
    Browse the repository at this point in the history
  106. update safety comment to use better terminology

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    a9b3224 View commit details
    Browse the repository at this point in the history
  107. fix to use GFX_HVCOUNTER_PORT as read from raw pointer instead of add…

    …ress ref
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f8a76c8 View commit details
    Browse the repository at this point in the history
  108. make HEAP static instead of const in order to modify it

    Co-authored-by: Ricky Taylor <rickytaylor26@gmail.com>
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    2 people authored and reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8b887ba View commit details
    Browse the repository at this point in the history
  109. drop AllocError and allocator_api feature in favor of simple unit () …

    …Result Error type since it isn't handled anyway
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    545b93e View commit details
    Browse the repository at this point in the history
  110. add python script to generate rust file containing byte arrays for as…

    …cii char tiles
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    e067204 View commit details
    Browse the repository at this point in the history
  111. add "default ascii" from Python pillow default font

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    ba37763 View commit details
    Browse the repository at this point in the history
  112. remove the target to remove old incremental builds (they build up pre…

    …tty fast)
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    63a91b1 View commit details
    Browse the repository at this point in the history
  113. run RetroArch after successful build to check out the result

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    fc5421c View commit details
    Browse the repository at this point in the history
  114. add tile indices for convenience, allows for easy referencing by number

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    84a8ee9 View commit details
    Browse the repository at this point in the history
  115. permanently display a exclamation mark on panic

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    96e4129 View commit details
    Browse the repository at this point in the history
  116. add graphics and sys to util crate in order to provide the global pan…

    …ic handler
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    10a321a View commit details
    Browse the repository at this point in the history
  117. add graphics and sys to util crate in order to provide the global pan…

    …ic handler
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    fea0291 View commit details
    Browse the repository at this point in the history
  118. whitespace

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f8bfc0d View commit details
    Browse the repository at this point in the history
  119. add non-Vec implementation of coin flip back in

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    265e344 View commit details
    Browse the repository at this point in the history
  120. scale standard greyscale to 8 colors, add tests

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8c718e1 View commit details
    Browse the repository at this point in the history
  121. offset first, then scale

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    4a9fb62 View commit details
    Browse the repository at this point in the history
  122. re-generate the tiles

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    b4619f2 View commit details
    Browse the repository at this point in the history
  123. offset text by -2 pixels to get rid of margin

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    3358d7b View commit details
    Browse the repository at this point in the history
  124. fix axis mixup

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    cc5c096 View commit details
    Browse the repository at this point in the history
  125. re-generate better ascii font

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    6ab12e8 View commit details
    Browse the repository at this point in the history
  126. import as 1x1 font

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    06baa3a View commit details
    Browse the repository at this point in the history
  127. import as 1x1 font

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f14d906 View commit details
    Browse the repository at this point in the history
  128. import as 1x1 font

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    9b6fa26 View commit details
    Browse the repository at this point in the history
  129. update the boilerplate to populate font struct

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    4b9e074 View commit details
    Browse the repository at this point in the history
  130. create Font struct to bundle text data and operations

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    10aa869 View commit details
    Browse the repository at this point in the history
  131. refactor tile_size to sprite_size

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f82aa15 View commit details
    Browse the repository at this point in the history
  132. WIP: try & use blit_text method to generate text sprites

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    acc4414 View commit details
    Browse the repository at this point in the history
  133. blit_text by iterating over bytes in text.

    Somehow, it appears to re-panic if trying to iterate over chars(), but I don't understand why
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    aa01f7c View commit details
    Browse the repository at this point in the history
  134. sort imports

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    4961bee View commit details
    Browse the repository at this point in the history
  135. add comment at top of file, remove redundant whitespace

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    d7ab5d6 View commit details
    Browse the repository at this point in the history
  136. include the start index for the tiles in the font struct

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c89daae View commit details
    Browse the repository at this point in the history
  137. drop init_default method and rename init to load to use start ind…

    …ex from struct
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8b0640f View commit details
    Browse the repository at this point in the history
  138. WIP: use text as bytes, convert to iterator and enumerate to weed out…

    … bugs
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    916a3ec View commit details
    Browse the repository at this point in the history
  139. move interrupt function to bottom to lessen distraction

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    b22e101 View commit details
    Browse the repository at this point in the history
  140. initialize possibly uninitailized vdp and use to load font

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    9ac5e9f View commit details
    Browse the repository at this point in the history
  141. WIP: slowly work towards working blit_text method on font

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    24f5b5a View commit details
    Browse the repository at this point in the history
  142. WIP: working text render

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f271426 View commit details
    Browse the repository at this point in the history
  143. remove container after running to avoid building used containers

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    ea30e64 View commit details
    Browse the repository at this point in the history
  144. split cargo megadrive image from building the examples

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    35c47ab View commit details
    Browse the repository at this point in the history
  145. working implementation of blit_text!

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    0a07a74 View commit details
    Browse the repository at this point in the history
  146. niceify with some whitespace

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c5b7fd7 View commit details
    Browse the repository at this point in the history
  147. document non-working downcast_ref

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8f6ff39 View commit details
    Browse the repository at this point in the history
  148. use non-Vec random coin flip

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8091f45 View commit details
    Browse the repository at this point in the history
  149. drop redundant imports

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    59a66fd View commit details
    Browse the repository at this point in the history
  150. drop redundant imports

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    0209e0c View commit details
    Browse the repository at this point in the history
  151. drop redundant imports, replace hand-built text with default font

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    2b53fae View commit details
    Browse the repository at this point in the history
  152. use some pretty text

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8d452dc View commit details
    Browse the repository at this point in the history
  153. relocate wait_for_interrupt to boilerplate bottom

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    15bcb71 View commit details
    Browse the repository at this point in the history
  154. drop allocation stuff until it's working

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    1e377b8 View commit details
    Browse the repository at this point in the history
  155. drop allocation stuff until it's working

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    027eb60 View commit details
    Browse the repository at this point in the history
  156. drop allocation stuff until it's working

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    247999c View commit details
    Browse the repository at this point in the history
  157. drop allocation stuff until it's working

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    a44da3c View commit details
    Browse the repository at this point in the history
  158. parameterize h offset by sprite width

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    47ccc86 View commit details
    Browse the repository at this point in the history
  159. center text on screen

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    5cd8623 View commit details
    Browse the repository at this point in the history
  160. roll only if A button on controller 1 is pressed

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f9886be View commit details
    Browse the repository at this point in the history
  161. open file with context manager

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Co-authored-by: Ricky Taylor <rickytaylor26@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer and ricky26 committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    2e8d8b0 View commit details
    Browse the repository at this point in the history
  162. extract out boilerplate string

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    64bd8cc View commit details
    Browse the repository at this point in the history
  163. add indents to wrapping open context manager, drop now-redundant `c…

    …lose` call
    
    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    dd726ed View commit details
    Browse the repository at this point in the history
  164. add opt-out/default-enabled feature for a default panic handler

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    84a06ff View commit details
    Browse the repository at this point in the history
  165. add documentation for util crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8712e6d View commit details
    Browse the repository at this point in the history
  166. move Python font bootstrapping artifacts into graphics crate

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    30ccbfe View commit details
    Browse the repository at this point in the history
  167. drop dunder init - no package necessary

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    a49dd82 View commit details
    Browse the repository at this point in the history
  168. add build script basics

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    89b627a View commit details
    Browse the repository at this point in the history
  169. add cpython build dependency

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    1e36c42 View commit details
    Browse the repository at this point in the history
  170. fix module generator out

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    614df98 View commit details
    Browse the repository at this point in the history
  171. use specific python3 command instead of legacy python

    Signed-off-by: reinvantveer <reinvantveer@gmail.com>
    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    97d3ab1 View commit details
    Browse the repository at this point in the history
  172. generate to environment variable specified OUTPUT_DIR

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    700f050 View commit details
    Browse the repository at this point in the history
  173. don't stick char NUL in default_font.rs

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    3ac9098 View commit details
    Browse the repository at this point in the history
  174. fix script name

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    39c91c9 View commit details
    Browse the repository at this point in the history
  175. drop module from version control generated by build.rs

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    41d8906 View commit details
    Browse the repository at this point in the history
  176. rerun on changed output module, input script or build script

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    ff6404b View commit details
    Browse the repository at this point in the history
  177. make lib.rs load contents from module directly using include macro

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    24db936 View commit details
    Browse the repository at this point in the history
  178. add python3-pip dependency

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    938b8e1 View commit details
    Browse the repository at this point in the history
  179. drop redundant rebuild checks

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    65ae438 View commit details
    Browse the repository at this point in the history
  180. Repurpose main Dockerfile for installing the cargo 'megadrive' command

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c1242ee View commit details
    Browse the repository at this point in the history
  181. Use docker-compose to build and copy examples

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    7ef8ab0 View commit details
    Browse the repository at this point in the history
  182. use build context with megadrive command Dockerfile

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    d6c054e View commit details
    Browse the repository at this point in the history
  183. fix example build setup

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    9029587 View commit details
    Browse the repository at this point in the history
  184. add things to ignore in rebuilding

    Signed-off-by: reinvantveer <rein@vantveer.me>
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    195fc38 View commit details
    Browse the repository at this point in the history
  185. Merge branch 'main' into workflows

    # Conflicts:
    #	.dockerignore
    #	Dockerfile
    #	Dockerfile.megadrive
    #	build.sh
    #	docker-compose.yml
    reinvantveer committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    5eea021 View commit details
    Browse the repository at this point in the history