Some examples of design and coding


Java
Demonstration of data object construction, JDBC

These are from a lab assignment from the Fall 2004 quarter at DeAnza College, CIS-53 Distributed Processing using Java.


A library system using Java

This was a group project for the Winter 2004 quarter at DeAnza College, CIS-35B Advanced Java Programming. This included several GUI dialogs and a fairly complex data model.


Perl
A CGI script for a bookshop

This was a lab assignment for CIS-89B Server Programming for the WWW from the Spring quarter at DeAnza College. The script uses the perl modules CGI.pm and DBI.pm to simplify HTML and database coding.



8051 firmware
A data bus monitor

These assembler and C code routines ran inside a pod that monitored a 3-wire serial data bus. The pod sent the sampled data over a RS-232 link to a data analyzer and logger program running on a PC.


x86 firmware (real mode)
A modem interrupt service routine (ISR)

This ISR connects a 80C186 processor to an 8250-compatible serial device. I had originally written this ISR entirely in assembler. Just for fun, I rewrote it as C (Borland 3.1) with embedded assembler statements. The C compiler's assembler output was only a few bytes longer than my hand-coded ISR, ran faster, and was much easier to maintain.


C - MSDOS console application
A FLASH firmware maintenance tool

There was a requirement for a tool to update FLASH firmware in some telecom transmission products via an RS-232 serial connection. After prototyping the tool using a commercial terminal emulator package (Procomm Plus) and scripts, I rewrote the tool as a DOS stand-alone.