Half-Byte Console, now available

We have kits and an assembled and tested unit for sale on our eBay store.

For information on the Programmer’s Kit, click here.

For information on Half-Byte Tiny Basic, click here.

For sample HB Tiny Basic code, click here.

Advertisements

4 thoughts on “Half-Byte Console, now available

  1. Hello George, Nice little Game for your Half-Byte Console. Here is a possible suggestion, add some nice simple functions like sin(),cos() so that we can use some sort of calculations for angles(Handy for Tank Games). These functions would help make the Shoot-em-up games a little easier to program. Thanks! – Kind Regards – Jim F – Calgary Alberta Canada

  2. Hello Everyone.

    I got SIN() and COS() to work!

    Great work on your documentation George
    about how to add functions!

    Kind Regards
    Jim F – Calgary Alberta Canada

    Please only use my signature “Jim F – Calgary Alberta Canada”

    Thanks!

    ===============================================================
    CODE SNIPPETS BELOW
    ===============================================================

    //Add these to function definitions
    //=================================
    #define FUNC_SIN 14
    #define FUNC_COS 15
    #define FUNC_UNKNOWN 16
    //=================================

    //Keep this somewhere handy
    //================================
    const double PI_180=0.017453278;

    //Add these to the func_tab
    //=========================
    ‘S’,’I’,’N’+0x80,
    ‘C’,’O’,’S’+0x80,

    //Add these to the Interpreter
    //=======================================
    case FUNC_SIN:
    // Sine Function returns (value * 10^3) for integer eval
    {
    return sin(a * PI_180)*1000;
    }
    case FUNC_COS:
    // Cosine Function returns (value * 10^3) for integer eval
    {
    return cos(a * PI_180)*1000;
    }

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s