Monthly Archives: December 2009

LOGVECT.C

/*    RESET AND INTERRUPT VECTORS    Modified-version of COSMIC-France’s vector.c     (c) M. Lutfi Shahab     First creation : 8-Jan-1995     Modifications :        – Bugs found in Whitesmiths’s vector.c (vector 9 contains Division          by Zero).        – RESET: Whitesmith always defined zk … Continue reading

Posted in Uncategorized | Leave a comment

ADCTASK.C

/******************************************************************************�����������������������������������������������������������������������������͸�                                                                             ��                    ANALOG-TO-DIGITAL CONVERTING TASK                        ��                                                                             ��                        Copyright (c) June, 1995                             ��                           by Lutfi Shahab                                   ��               Instrumentation and Controls Laboratory                       ��                     Dept. of Engineering Physics                            ��                   Faculty of Industrial Technology                          ��                      Institut Teknologi Bandung                             ��                                                                             ��  Date:      20/11/94                                                        ��                                                                             ��  … Continue reading

Posted in Uncategorized | Leave a comment

COMTASK.C

/*****************************************************************************            COMMUNICATION TASK FOR 68HC16-BASED TERMO-LOGGER                                  WITH                    SLIP PROTOCOL AS DATA-LINK LAYER                              (c) June 1995                              by M. Lutfi                        Engineering Physics Dept                    Faculty of Industrial Technology                       Institut Teknologi Bandung         =======================================================       Each received character is copied into  a queue … Continue reading

Posted in Uncategorized | Leave a comment

TCTASK.C

/*���������������������������������������������������������������������������͸�                                                                           ��                          THERMOCOUPLE TASK                                ��                                                                           ��                          Copyright (c) 1994                               ��                           by Lutfi Shahab                                 ��               Instrumentation and Controls Laboratory                     ��                     Dept. of Engineering Physics                          ��                      Institut Teknologi Bandung                           ��                                                                           ��  Date:      20/11/94                                                      ��                                                                           ��  Platform : Motorola 68HC16 Microcontroller                               ��               running … Continue reading

Posted in Uncategorized | Leave a comment

SLIISR.S

;����������������������������������������������������������������������������Ŀ;�                            SLIP PROTOCOL                                   �;�                          INTERRUPT HANDLER                                 �;�             for 68HC16Z1 Microcontroller running MCX-16                    �;�                                                                            �;�                 compiled with Whitesmiths C compiler                       �;�                                                                            �;�                            (c) June 1995                                   �;�                               M. Lutfi                                     �;�                      Engineering Physics Dept.                             �;�                     Faculty of Industrial Tech.                            �;�                     Institut Technologi Bandung                            … Continue reading

Posted in Uncategorized | Leave a comment

SCIDRV.S

;*****************************************************************************;*                                                                           *;*                 S C I   D R I V E R   M O D U L E                         *;*             UNDER HC16 MULTITASKING EXECUTIVE (MCX16)                     *;*                         WITH SLIP PROTOCOL                                *;*                                                                           *;            Compiled with Whitesmith Cross Assember ver 1.9                 *;*                        (c) 11 December … Continue reading

Posted in Uncategorized | Leave a comment

SCIDRV.ASM

*******************************************************************************                       S C I   D R I V E R   M O D U L E                     **                                                                             ******************************************************************************** isrrtn    equ    $360        ; Address of Common Interrupt Exit routine SCIINTLV  equ    5           ; SCI Interrupt LevelSCIINTV   equ    $3A         ; SCI Interrupt … Continue reading

Posted in Uncategorized | Leave a comment

STARTUP.S

;����������������������������������������������������������������������������ͻ;�                                                                            �;�                SYSTEM STARTUP FOR 68HC16-BASED DATA-LOGGER                 �;�                                                                            �;�                    Copyright (c) 1995 by M. Lutfi                          �;�                                                                            �;����������������������������������������������������������������������������ͼ     .PROCESSOR  M68HC16     .external _main, __memory,__pdata    .external ._main, .__pdata    .external .__text__, .__data__, .__bss__    .public    _exit, __stext     .include “hc16regs.mac”    .include “mcx16.mac”    .include … Continue reading

Posted in Uncategorized | Leave a comment

MCXEVB.S

;   C STARTUP FOR 68HC16 UNDER MCX-16 REAL-TIME KERNEL;   ==================================================;   Copyright (c) 1995;   Designed and programmed by Muhammad Lutfi;   for Final Project (TA);   Thesis Advisors:;     Dr. Ir. Farida Idealistina Muchtadi;        and Ir. Sutanto Hadisupadmo, M.T.;;   Instrumentation and Controls Lab.;   Engineering … Continue reading

Posted in Uncategorized | Leave a comment

MCXCALLS.S

;*****************************************************************************;                      INTERFACE WhiteSmith to MCX-16;                      ——————————;    Platform : Motorola 68HC16 running MCX16 Multitasking Executive;                        Compiler : Whitesmith C;;                    (c) M. Lutfi Shahab (13389011);                   Instrumentation and Control Labs.;                   Department of Engineering Physics;                   Institut Teknologi Bandung (ITB);;                         Created : 13 Apr 1995;                          … Continue reading

Posted in Uncategorized | Leave a comment