Showing posts with label Tools. Show all posts
Showing posts with label Tools. Show all posts

Tuesday, November 11, 2014

Modularization in HC11

Here is a short video describing modularization in HC11:



queue.asm file is the queue module
And testQMod.asm is an example test program that uses queue module.

Also note the comments, and code style (no magic numbers) in queue.asm for the reference. 

Saturday, October 4, 2014

Running 32-bit Windows XP/Vista on VirtualBox

Allright, so I've been looking around for simplest option to get you up and running if you have a 64-bit machine that does not run the HC11 toolset. So as I mentioned in the class, you can use VirtualBox which is an Open Source software by Oracle.

  • go the following link and download the appropriate VirtualBox binary for your OS (yes, there is a version for Mac/OS X as well)
  • Once downloaded, install VirtualBox on your computer
  • Now that you have VirtualBox installed, go to modern.ie following website that is hosted by Microsoft, and it provides you with variations of free and ready to go Virtual Machine appliances (e.g. 32 bit Windows XP or Windows 7) that you can download and use out-of-box, so you don't have to manually install XP or Vista on your VirtualBox:
    • https://www.modern.ie/en-us/virtualization-tools#downloads
    • Note that modern.ie was introduced for browser testing that's why there is all kinds of flavours for different Internet Explorer IEs.
    • I selected Mac and downloaded XP for IE6, since it occupied less space on disk, and tested HC11 tools set successfully, it should be the same if you are running Windows machine.
    • Select a flavour of Windows & IE follow a few instructions to download the required file  (see example below for Windows: on the left you select you computer's OS, and read the instructions, on the right you'll select the version of Windows and a flavour of IE)



  • Once the files are downloaded and extracted, you should be able to download the files and it will automatically open using VirtualBox, and it will ask you to import the downloaded virtual machine. 


Note: The are commercial virtual machine software such as VMWare and Parallels Desktop, but VirtualBox works just as well, at least for what we need in this course.

Wednesday, October 1, 2014

HC11 Tools: Editor, Assembler, Linker

MiniIDE is available in the lab for writing/build your assembly code, however I highly recommend using the following HC11 toolset made available by Dr. Larry Hughes. Please ensure to extract the zipped file in the root folder of your C drive, the tools may have some limitation when it comes to long file path. To help you through working with HC11 toolset, I've created a short video to walk through the process of using the assembler, linker, and loading the executable module into simulator: Download the video

Sunday, September 21, 2014

MiniIDE

Here you can download MiniIDE program for windows: I've tested it and it works for windows 7 as well. Using MiniIDE you can assemble your assembly code, but doesn't seem to have a linker!
So that means that you can't have separate modules unless you use $include directive; we'll further discuss this in the class:

http://www.mgtek.com/miniide/resources/hc11.aspx

Please note that you may have to go to Build menu > Options > Select the Tools tab > and change the Assembler from asm12.exe to asm11.exe in order to ensure you are using Assembler for HC11 not HC12.