Giter Club home page Giter Club logo

minicube64's People

Contributors

aeriform-io avatar badd10de avatar jed-paracosm avatar jettmonstersgoboom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

minicube64's Issues

Unexpected labels in disassembly

The disasm6502 function seems to be using unexpected labels at times. I've attached a simple program with some zeropage labels and instructions accessing them. The infinite loop is there so the disassembly can be seen in the debugger (tab). I've attached a screenshot of what I'm seeing as well.

I suspect something in the labellist that to_label uses is getting thrown off, but seeing a macro label in there is particularly odd.

disassembly

include "64cube.inc"

ENUM $0
  data        db 4
  flags       db 1
  value       db 1
ENDE

  org $200
Boot:
  sei
  ldx #$ff
  txs

- jmp -     ; loop so the following is visible in the debugger

  lda data
  nop
  lda data+2 ; disassembles as "lda value"
  nop
  lda data+3 ; disassembles as "lda _addw"
  nop
  lda flags
  nop
  lda value
  tax

Support for ARM architecture

The current binaries don't run on ARM devices (e.g. a Raspberry Pi). I've tested with the Linux one, but it most probably applies to all of them - that is, if the problem really lies in CPU architecture.

Trying to run it on an ARM device returns the following error:

bash: ./minicube: cannot execute binary file: Exec format error

In case it's due to architecture, is ARM support planned?

Enums don't instantiate values

I can't seem to get enums to work completely, and the debugger shows them not populating in value assignments to them as should be expected.

Example program to demonstrate (should have 01 show up in $00):
include "64cube.inc"

;zero-page values
ENUM $0
testByte db 1
ENDE

;called once at start
org $200
sei
ldx #$ff
txs

lda #$2
sta VIDEO

;constant loop
Main:
jmp Main

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.