Thursday, February 5, 2015

Commodore 817 has been released

   After much work, the first version of commodore 817 is available for download.  At this stage, testing has been completed.  The test log and status is at the bottom of the page.

   The running main program takes up only 3299 bytes staying within my goal of under 4K.  Other smaller areas of memory deal with Disk/Printer I/O and uncrunching.  This was written in assembly using Relaunch64 and Tass64.  On actual hardware this was testing using the Glink232 on a stock C64 with an MPS-801 printer








The program has been tested with 1541, SD2IEC, NTSC, PAL.   As well as Vice.  See instructions for VICE below

Download D64 image here




Opening screen




The program reiterates the importance of backing up the calibration data of the radio.  The only way to fix it should it become corrupted is to send it back to the factory for recalibration.   



Initial radio calibration check





The program also provides printouts of the calibration for a safe hardcopy



MPS-801 Output






The main screen shows both VFO and memory information currently running on the radio, as well as frequency, band information, CWID tag, tx/rx status, power levels, adjusted power levels, mode and squelch.A graphical Smeter also acts as the radios SWR meter during transmit.

Top menu functions include

NOISE BLOCKER - ON/OFF
AGC MODE           - SLOW/FAST/AUTO/OFF
VOX                       - ON/OFF
CW BREAKIN        - ON/OFF
FAST TUNER        - ON/OFF
SPLIT TX/RX         - ON/OFF
RF-GAIN/SQL        - TOGGLE SWITCH
DUAL WATCH       - ON OFF
CW KEYER            - ON OFF
CW PADDLE         - NORMAL/REVERSE
CW ID                   -  ON OFF
SCAN MODE        - OFF/UP/DOWN






Bottom menu functions include:

Change frequency - Also validates input for acceptable ranges and matches band

Toggle Mode - switches between all available modes

Toggle VFO - switches between VFO A/B

Toggle Power - switches between L1, L2, L3 , and High

A=B - copies all information from VFOA to B and matches current band

Charger ON/OFF

HELP -  An included help file

CHECK CAL - A utility that checks the calibration on the radio against the one saved on disk


check cal downloading cal data for testing





 Option to print after testing




 Portion of the Helpfile



Vice:


Vice requires that true drive emulation be enabled under Drive settings.

Under RS232 settings

Enable ACIA RS232 interface emulation
ACIA device - serial 1
ACIA Base address $DE00
ACIA interrupt - NMI
ACIA emulation mode - SWIFTLINK

SERIAL 1 DEVICE - whatever your serial port is    mine is /dev/ttyUSB0
Baudrate 9600


Under Printer Settings

Enable Printer #4 IEC Device
Driver MPS-803
Output Graphics
Text output device - Printer 1 (file dump)

Print text device 1...    [where to save and the file name]

Save settings












TESTING LOG:

6 FEB 15:
     Fixed an issue where program will hang when loading help or test cal if the button is pressed while squelch is open and radio receiving RF. Disable glink232 and its receive interrupt before loading disk

     Added disable all sprites before loading help or test cal so receive meter doesn't get stuck on the screen. SPENA to 00

Works in VICE on D64 and works on 1541 on c64, there is an unknown problem with SD2IEC.  Doesn't find calibration file nor save calibration file



7 FEB15:
     Fixed Dialogue when cal test fails

     Fixed check for calibration file code. now works with SD2IEC and 1541

     Fixed irq shutdown bit toggle 2 on GLINK232,    shuts just 2 instead of all bits
     Dumped undeeded vector relocation code used before help and check cal

     Added the don't touch radio medal when transferring A to B

      ADDED HANDLER FOR BAD DATA CAUSING OVERFLOW


8 FEB15:
    Removed extra 2 !! in A=B code

TO DO:

     










No comments:

Post a Comment