Giter Club home page Giter Club logo

chiposlo's Introduction

Buy Me a Coffee at ko-fi.com

Read my blog, where I write about my projects.

Latest blog posts

I'm a hobbyist game developer, and my games can be found on my itch.io page (as well as here on GitHub). I like making games in small, restrictive retro-esque game environments such as PICO-8, CHIP-8, bitsy, Game Boy, etc.

Games

I love retro computing, and have a few related projects:

chiposlo's People

Contributors

tobiasvl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tonypdmtr

chiposlo's Issues

Opcode Ex9E not working as expected

First of all: Thank you for your work on an improved CHIPOS version!

While testing it agains my DREAM6800 emulation, I came across an issue that is resulting from the modifications:

The Ex9E opcode is not working in the current CHIPOSLO version. The Problem originates in the reorganization of the skip opcode handling.

The relevant code:

SKFKEY: JSR     KEYINP      ; INTERROGATE KEYBOARD  <--- This sets the key in KEYCOD and A, A not same as PIR+1 anymore!!!
        TST     BADRED      ; KEY DOWN?
        BEQ     SKFK1
        LDAB    #$A1        ; WHAT INSTRN?
        CMPB    PIR+1       ; SKF VX#KEY   <--- This still works as it doesn't rely on A being content of PIR+1
        BEQ     SKIP2
        RTS                 ; NO KEY GO FETCH
SKFK1:  CMPA    #$9E.       ;  <--- But this now compares the pressed key against $9E, not the second opcode byte
        BEQ     SKFEQ
SKFNE:  CMPA    VX
        BNE     SKIP2
        RTS
LETVK:  ADDA    VX
        BRA     PUTVX
RANDV:  BSR     RANDOM      ; GET RANDOM BYTE
        ANDA    PIR+1
        BRA     PUTVX

The original code in comparison does explicitly use PIR+1:

SKFK1:  LDAB  	#$9E
        CMPB  	PIR+1       ; WHAT INSTRN?
        BEQ     SKFEQ
        BRA     SKFNE

I might try to fix it myself and would put out a PR if I do, but I'm not sure if and when I would manage to do so.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.