Giter Club home page Giter Club logo

timex-datalink-toebes-tutorials's Introduction

Toebes' WristApp tutorial sources for the Timex Datalink

This repository contains the source code for the tutorials and header files from John A. Toebes, VIII's Datalink Wristapp Developer's Resource website! You can use the identical code examples in this repository while you follow his excellent tutorials.

To assemble WristApps for the Timex Datalink 150 and 150s, please use Toebes' assembler. For your convenience, here's Toebes' assembler wrapped in Docker with Wine to make it easier to use on the CLI in a platform-agnostic way.

Highlighting in Vim

To make ZSM files be highlighted correctly in Vim, set the syntax to "asm", like so:

:syntax=asm

To make Vim set the syntax to "asm" automatically when ZSM files are opened or created, add this to your .vimrc:

au BufRead,BufNewFile *.zsm set syntax=asm

timex-datalink-toebes-tutorials's People

Contributors

synthead avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

timex-datalink-toebes-tutorials's Issues

Headers in include/ are out-of-date

There were a lot of bug fixes in this repo related to the tutorials being out-of-date with the headers shipped with the Asm6805 assembler. The headers in this repo located in include/ also contain the out-of-date headers from the Wristapp.i for the 150 and Wristapp.i for the 150s archives.

Update the headers in include/ to match the headers shipped with the Asm6805 assembler.

Undefined symbol 'TIM_2_8TIC' Value=0 in 04_flash.zsm

When assembling 04_flash.zsm, this error is raised:

Assembling 150 Version...
Assembling 150S Version...
/root/asm_file(49): Undefined symbol 'TIM_2_8TIC' Value=0
        db      EVT_ENTER,TIM_2_8TIC,0          ; Initial state

This is likely exactly the same problem as #3:

When assembling 03_update.zsm, this error is raised:

Assembling 150 Version...
Assembling 150S Version...
/root/asm_file(49): Undefined symbol 'TIM_2_8TIC' Value=0
        db      EVT_ENTER,TIM_2_8TIC,0          ; Initial state

The Toebes' assembler link to download includes the same tutorial programs, but they are a little different. Most of the changes are simply comment and indent differences, but I noticed this in the zip file that isn't in the code in the 3 - Better Input:

-        db      EVT_ENTER,TIM_2_8TIC,0          ; Initial state
+        db      EVT_ENTER,TIM2_8TIC,0           ; Initial state

There is probably a bug in the version on the website, and this probably fixes said bug.

Undefined symbol 'STATETAB0' Value=0 in 07_testsnd.zsm

When assembling 07_testsnd.zsm, this error is raised:

Assembling 150 Version...
Assembling 150S Version...
/root/asm_file(32): Undefined symbol 'STATETAB0' Value=0
L011f:  lda     STATETAB0,X ; The state table get routine - WRIST_GETSTATE

The Toebes' assembler link to download includes the same tutorial programs, but they are a little different. Most of the changes are simply comment and indent differences, but I noticed this in the zip file that isn't in the code in the 7 - Playing with Sound tutorial:

-L011f:  lda     STATETAB0,X ; The state table get routine - WRIST_GETSTATE
-        rts
+L011f:          lda     TABLE0,X
+                rts

There is probably a bug in the version on the website, and this probably fixes said bug.

In addition, a ZAP file is still produced, but if it is synced to a 150, the watch resets its data and reboots when opening the program.

Undefined symbol 'TIM_2_8TIC' Value=0 in 03_update.zsm

When assembling 03_update.zsm, this error is raised:

Assembling 150 Version...
Assembling 150S Version...
/root/asm_file(49): Undefined symbol 'TIM_2_8TIC' Value=0
        db      EVT_ENTER,TIM_2_8TIC,0          ; Initial state

The Toebes' assembler link to download includes the same tutorial programs, but they are a little different. Most of the changes are simply comment and indent differences, but I noticed this in the zip file that isn't in the code in the 3 - Better Input:

-        db      EVT_ENTER,TIM_2_8TIC,0          ; Initial state
+        db      EVT_ENTER,TIM2_8TIC,0           ; Initial state

There is probably a bug in the version on the website, and this probably fixes said bug.

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.