Giter Club home page Giter Club logo

Comments (8)

spth avatar spth commented on May 31, 2024

This would essentially be done by translating the Dynamic C source at https://github.com/digidotcom/DCRabbit_10/tree/master/ColdBoot to sdas syntax (despite being named .C these are actually assembler source files). Then we could compare the resulting binary to the coldboot.bin and pilot.bin that come with Dynamic C.

from openrabbit.

spth avatar spth commented on May 31, 2024

At least the source for pilot.bin from Dynamic C 10 won't work, as it uses Rabbit 4000-specific instructions that won't work on Rabbit 2000 and 3000. Need to check coldboot.bin (and see if pilot.bin source from Dynamic C 9 will be released as free software).

See also: digidotcom/DCRabbit_9#3

from openrabbit.

spth avatar spth commented on May 31, 2024

Source for pilot.bin and coldboot.bin suitable for Rabbit 2000 and 3000 from Dynamic C 9 has just been released under MPL:
digidotcom/DCRabbit_9@d939c14

from openrabbit.

spth avatar spth commented on May 31, 2024

The coldoad branch now has coldboot.bin source that can be compiled with SDCC.
Doing the same for pilot.bin would be possible, but more work.

from openrabbit.

tomlogic avatar tomlogic commented on May 31, 2024

It should be safe to remove the nop opcodes and trailing instructions. As mentioned in our other communications, I believe the nops are placeholders for debugging via rst28 opcodes and unnecessary, and the 5 instructions at the end are unused/unnecessary.

from openrabbit.

spth avatar spth commented on May 31, 2024

I intent to remove them later, once I have the RFU-equivalent functionality working with OpenRabbit.

from openrabbit.

spth avatar spth commented on May 31, 2024

In current trunk, the unneeded instruction in coldload.bin are removed. It still works fine.

from openrabbit.

spth avatar spth commented on May 31, 2024

Replacing pilot.bin will be harder. The source is mostly assembler code with C declarations. SDCC is a great C compiler, but it doesn not support as much interaction between C and assembler as Dynamic C does. This will be more of a rewrite than a simple syntax translation.

from openrabbit.

Related Issues (20)

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.