This is an old revision of the document!


68Kb Board

  • 2 GAL chips for extra decoding
  • An extra UART 68B50, to cater for designs that use this UART for comms
  • 74LS164 chip to take care of low address RESET startup vectoring
  • Using GAL chip to provide 1.8MHz clock
 The design of the board is as following picture .. \\

sites.google.com_site_gogleoops_rsrc_1537336184095_68kb-board_68kb_schematic.jpg

 See video below for more detailed explanation of the workings of the board ...
 And image of the BLANK PCB Board (top) \\

sites.google.com_site_gogleoops_rsrc_1537336641413_68kb-board_topboard68kb.jpg

 See video below for better explanation of the PCB components and their function... \\

On constructing the board ..some resistors have to be mounted under the 64 pin IC socket. Depending on the type of socket you have ..this might be different in assembly …

sites.google.com_site_gogleoops_rsrc_1538021130207_68kb-board_resunder_socket.jpg

Completed board … short out links V and A .. and R and H

sites.google.com_site_gogleoops_rsrc_1538799199399_68kb-board_img_1349.jpg

Extra ~LDS line to GAL2 chip (pin 18) … from GAL1 chip (pin3).

sites.google.com_site_gogleoops_rsrc_1538799298538_68kb-board_img_1350.jpg

Programming the 2 gal chips …code …

Gal 1 Code

Name 68K ram/rom;

 Partno  0001; \\
 Revision  68Kb G1; \\
 Date  21/9/18; \\
 Designer  mc; \\
 Company  mcoz; \\
 Location  oz; \\
 Assembly  manual; \\
 Device  g22v10; \\  \\
 /** Inputs **/ \\  \\
 Pin 1 = nas; \\
 pin 2 = rnw; \\
 pin 3 = sio_ndtack; \\
 pin 4 = rmem; \\
 pin 5 = a23; \\
 pin 6 = a22; \\
 pin 7 = a21; \\
 pin 8 = a20; \\
 pin 9 = a19; \\
 pin 10 = a18; \\
 pin 11 = a17; \\
 pin 13 = a16; \\
 pin 14 = a15; \\
 pin 15 = a14; \\
 pin 16 = a13; \\
 pin 17 = a12; \\
 pin 18 = nlds; \\  \\
 /** Outputs **/ \\  \\
 pin 23 = !cs_sio; \\
 pin 22 = !cs_ram; \\
 pin 21 = !dtack; \\
 pin 20 = rom; \\
 pin 19 = !cs_68b50; \\  \\  \\
 /** Declarations and Intermediate Variable Definitions **/ \\  \\
 field ioaddr= [a12..23]; \\  \\
 cs_ram_eqn  = ((ioaddr:[000000..003FFF])& rnw & !nas ) # ((ioaddr:[004000..00BFFF])& !nas) ; \\
 cs_sio_eqn  = (ioaddr:[00C000..00CFFF])&!nas & !nlds; \\  \\
 /** Logic Equations **/ \\
 cs_ram = cs_ram_eqn; \\
 cs_sio = cs_sio_eqn; \\
 rom = a19; \\
 dtack = !nas;

GAL 2 code

Name 68K ram/rom;

 Partno  0001; \\
 Revision  68Kb Gal 2; \\
 Date  20/9/18; \\
 Designer  mc; \\
 Company  mcoz; \\
 Location  oz; \\
 Assembly  manual; \\
 Device  g22v10; \\  \\
 /** Inputs **/ \\  \\
 pin 1 = clk36; \\
 pin 2 = rnw; \\
 pin 3 = nlds; \\
 pin 4 = nuds; \\  \\  \\
 /** Outputs **/ \\  \\
 pin 23 = !lwr; \\
 pin 22 = !lrd; \\
 pin 21 = !uwr; \\
 pin 20 = !urd; \\
 pin 18 = uds; \\
 pin 17 = lds; \\  \\  \\
 /** Declarations and Intermediate Variable Definitions **/ \\  \\  \\
 /** Logic Equations **/ \\
 lwr = !rnw & !nlds; \\
 lrd = rnw & !nlds; \\
 uwr = !rnw & !nuds; \\
 urd = rnw & !nuds; \\
 uds = !nuds; \\
 lds = !nlds;

Memory space:

  • Mon ROM 0000-3FFF
  • RAM 4000-BFFF
  • Duart C000-CFFF


The monitor Binary files:

Programming GAL and NVRam chips.

Following video shows you how to compile and produce jed files to program into GAL chips. Also how to program the upper and lower byte NVram chips for the board ..

Programming GAL and NVram chips

And finally here is video of the board running and using the monitor program to run some programs …

Running 68Kb board


builderpages/mcoz/start.1542275352.txt.gz · Last modified: 2018/11/15 04:49 by mcoz
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0