Close

Results 1 to 14 of 14
  1. #1
    DF VIP Member DJ OD's Avatar
    Join Date
    Jul 2001
    Location
    On da decks.
    Posts
    10,114
    Thanks
    1,008
    Thanked:        2,254
    Karma Level
    1104

    Default Hacking the Commodore C128

    Found this artical while browsing this morning. Interesting stuff. I was always a Spectrum fanboy though...

    Guest Post: The Real Story of Hacking Together the Commodore C128

    December 9, 2013 by Bil Herd 121 Comments
    Behind the C-128 from a 1985 Ad

    The most popular computer ever sold to-date, the Commodore C-64, sold 27 Million units total back in the 1980’s. Little is left to show of those times, the 8-bit “retro” years when a young long-haired self-taught engineer could, through sheer chance and a fair amount of determination, sit down and design a computer from scratch using a mechanical pencil, a pile of data books, and a lot of paper.
    My name is Bil Herd and I was that long-haired, self-educated kid who lived and dreamed electronics and, with the passion of youth, found himself designing the Commodore C-128, the last of the 8-bit computers which somehow was able to include many firsts for home computing. The team I worked with had an opportunity to slam out one last 8 bit computer, providing we accepted the fact that whatever we did had to be completed in 5 months… in time for the 1985 Consumer Electronics Show (CES) in Las Vegas.
    We (Commodore) could do what no other computer company of the day could easily do; we made our own Integrated Circuits (ICs) and we owned the two powerhouse ICs of the day; the 6502 microprocessor and the VIC Video Display IC. This strength would result in a powerful computer but at a cost; the custom IC’s for the C-128 would not be ready for at least 3 of the 5 months, and in the case of one IC, it would actually be tricked into working in spite of itself.
    Before the CES show, before production, before the custom IC’s became available, there was no choice but to Hack in order to make the deadlines. And by Hack I mean we had to create emulator boards out of LS-TTL chips that could act like the big 48 pin custom VLSI chips that Commodore/MOS was known for .
    Commodore C-128, the last mass production 8 bit computer and first home computer with 40 and 80 column displays, dual processors, three operating systems, 128k memory via MMU and one heck of a door stop.

    To add to the fun, a couple of weeks later the marketing department in a state of delusional denial put out a press release guaranteeing 100% compatibility with the C64. We debated asking them how they (the Marketing Department) were going to accomplish such a lofty goal but instead settled for getting down to work ourselves.
    As the project progressed we realized that this most likely was going to be the final 8 bit system to come out of Commodore. We began shoving in as many features as could fit in a 5 month time frame. Before we were done we would have a dual processor, triple OS, dual monitor (40 and 80 column simultaneously) with the first home computer to break the 64k barrier. We started referring to the C128 as 9 pounds of poop in a 5 pound bag, we couldn’t quite get 10 pounds to fit. We also joked about turning out the lights on our way out the door as we knew that the 8-bit era was coming to a close.

    The C128 would require two brand new 40 pin custom chips; a Memory Management Unit (MMU), a Master Programmable Logic Array (PLA), and the venerable but scary VICII video core chip needed to be re-tooled. We also had the chip guys bond up a very special 48 pin version of the 6502 microprocessor and we decided to use Commodore’s newest 80 column chip which by itself almost caused us to miss CES. (But that’s a different story)
    The initial Commodore C128 with three months to go until CES. Five custom chips have yet to be completed, in the mean time “chip emulators” kept it running enough that the system software could be written.

    So here is where the need for some serious hacking comes in; we needed to start writing software (a whole new Rom Kernel and Monitor and a brand new version of Basic featuring structured commands), we needed to start the process of making PCB’s and we needed to start debugging the hardware and understanding the implications of trying to use 128k of DRAM (yes “k”, not m,g or t) which was a first, as well as the first MMU in a home computer. Along the way it turned into a dual processor system 6502/Z80, and simultaneous 40 column TV display and 80 column monitor. Home monitors didn’t really exist yet, we were kind of counting on having that done in time also, along with a new hard drive.
    Bottom of the prototype C128; Three months until CES and it takes lots of jumpers and chips stuck to the bottom to make it work.

    What we ended up doing was designing the first PCB to take either finished 40 pin dip chips or 40 pin emulator cables leading to emulator boards built of 74LS chips that when combined with some rather cranky PLA’s (The FPGA of the day) and delay lines and whatever else we could find, acted close enough to a custom chip that the programmers could continue working.
    The VIC Video Chip for the C128 could initially be emulated starting with a C64 VIC Chip and logic and delay lines.


    Our construction technique was to add to the PCB as much as we knew we needed for sure and then add jumpers to that as needed. The mainstay though in the 80’s was good old-fashioned wire-wrap, and so we proceeded to lay out a sacrificial main PCB and wire-wrap sub-assemblies to act like the custom chips that would hopefully arrive in a couple of months. (Looking at the bottom of the main PCB its hard to believe that in about 3 months we would start a production run of several million.)
    Example of wire-wrap construction, power is gridded on the bottom, ground on top. A good tech could do this in about 4-6 hours.

    C128 PLA emulator. The new PLA was going to be really powerful, to emulate we had to make a lot of concessions to fit in the available sizes. (But that size limit was about to change)



    This was just the beginning, ahead lay some fairly insane kludges that all had two things in common; We had to get any hack or fix done overnight while the managers were home sleeping and the end result had to work in million piece quantity.
    During the final push to CES we ate our holiday dinners out of aluminum foil in the hardware lab using the heat of disk drives to keep the food warm, and the bathroom sinks doubled as showers. My shoes became unwearable due to extended use and were discarded, only to have a mouse take up residence in the toe. (The first Commodore Mouse)
    We assembled units in the booth the night before the show, Commodore Business Machines (CBM) employees were tasked with hand carrying the 80 column chip which had almost been a show stopper. The programmer that had ported CPM was able to fix the last of 80 column bugs by editing raw data on the floppy.
    Commodore C128 Boot Screen on 40 Column



    As far as the product performance at the show we nailed it. Nothing failed, there were no “blue screen” moments, and the press was kind to us. Upon returning to work we struggled with how to ramp down after having been in the crucible for so many months. Showers were taken and eventually the slack-jawed expressions gave way to normal-jawed expression.
    We figured we had done the last big 8-bit computer, we knew one era was ending but we were also excited about the advent of the 16-bit Amiga even amid rumors of big layoffs in engineering. Without the drive of the founder, Jack Tramiel, CBM seemed to wander aimlessly canceling the next computer, the LCD Computer system amongst little to no marketing of main products. The feeling for me was as the days of Camelot had come to an end. The team slowly broke up without a new challenge to bind us together, I ended up working at a Trauma Center in New Jersey in my spare time as I had become somewhat addicted to adrenaline.

    The Easter Egg in the Commodore C128

    Bil Herd went on to develop high speed machine vision systems and designed the ultrasonic backup alarm commonly seen on new vehicles. For the last 20+ years Bil has been an entrepreneur and founded several small businesses. Bil keeps in touch with collectors and other fans of the old Commodore computers through his website c128.com and will soon be opening his new site, herdware.com which will feature open source and educational electronics kits.
    The C128 Engineering Team as seen in the Easter Egg image:

    Bil Herd: Designer & Hardware Lead
    Dave Haynie: Intricate timing, PLA Emulator and DRAM
    Frank Palaia: Z80 Integration and Ram Expansion
    Fred Bowen: Programmer and Software Lead- Kernal & Monitor
    Terry Ryan: Programmer- Basic V7 including structured language additions.
    Von Ertwine: Programmer- CPM
    The Commodore C128 was produced in 1985 and sold 5+Million units generating about about $1.5 Billion in revenue. The C128D with built-in disk drive was supposed to be released at the same time as the standalone unit but the C128D did not make it into production for a couple of years.


    Source


    DJ OD

    7 Thanks given to DJ OD

    Ashley (11th December 2013),  beansontoast (12th December 2013),  David B (11th December 2013),  elephantsoup (11th December 2013),  Over Carl (13th December 2013),  rIKmAN (11th December 2013),  tombott (11th December 2013)  


  2. #2
    DF VIP Member
    tombott's Avatar
    Join Date
    Oct 2002
    Location
    Hereford
    Posts
    5,697
    Thanks
    507
    Thanked:        571
    Karma Level
    722

    Default Re: Hacking the Commodore C128

    I was a Spectrum kids as well, I remember the shit my mates used to have trying to load games on their C64's. Those tape drive were seriously shit.
    Hats off though, that was some proper engineering back then.
    Digital-Forums IRC Last.FM duckduckgo
    Guns don't kill people rappers do, I'm a fucking rapper and I might kill you.

  3. #3
    DF VIP Member Zippeyrude's Avatar
    Join Date
    Dec 2002
    Location
    UK
    Posts
    4,317
    Thanks
    238
    Thanked:        792
    Karma Level
    534

    Default Re: Hacking the Commodore C128

    i had a vic20

    hours of copying code from a mag only to find it didnt work

    Thanks to Zippeyrude

    rIKmAN (11th December 2013)  


  4. #4
    DF VIP Member
    TAR's Avatar
    Join Date
    May 2002
    Location
    My home
    Posts
    2,409
    Thanks
    284
    Thanked:        240
    Karma Level
    382

    Default Re: Hacking the Commodore C128

    Specy for me too. Tape to tape copying. It was so much easier to copy games back then. I used to write the volume on the tape, to make sure it would load first time.
    TAR seems to be a decent bloke!

  5. #5
    DF VIP Member koola2's Avatar
    Join Date
    Jul 2007
    Location
    London
    Posts
    1,673
    Thanks
    39
    Thanked:        164
    Karma Level
    295

    Default Re: Hacking the Commodore C128

    Did you see Charlie Brooker's how video games changed the world, he mentioned Commodore vs Spectrum user agreed on one thing and that was BBC Micro users were basically posh idiots.

    Thanks to koola2

    beacytan (11th December 2013)  


  6. #6
    DF VIP Member Shotgunjim's Avatar
    Join Date
    Feb 2003
    Location
    London Proper
    Posts
    6,448
    Thanks
    231
    Thanked:        166
    Karma Level
    613

    Default Re: Hacking the Commodore C128

    I saw that programme, it was really interesting ( and still had some games missing for me!)
    - Plan for Tomorrow - Live for today - Hail to the King Baby -

  7. #7
    DF VIP Member Soulassassin's Avatar
    Join Date
    Jan 2002
    Location
    Newcastle UK
    Posts
    2,747
    Thanks
    271
    Thanked:        342
    Karma Level
    458

    Default Re: Hacking the Commodore C128

    20 odd games on one cassette, wrote on the label the volume and the counter position so you could fast forward to the right game.
    Happy days

  8. #8
    DF VIP Member
    cloudy73's Avatar
    Join Date
    Nov 2008
    Location
    ..Hyperspace..
    Posts
    665
    Thanks
    249
    Thanked:        43
    Karma Level
    235

    Default Re: Hacking the Commodore C128

    Copy via high speed dubbing tape to tape. Class.

    Sent from my GT-I9505 using Tapatalk

  9. #9
    DF Probation MsDG's Avatar
    Join Date
    May 2002
    Location
    Birmingham
    Posts
    6,456
    Thanks
    93
    Thanked:        1,176
    Karma Level
    947

    Default Re: Hacking the Commodore C128

    Unfortunately the C128 was a bit of a fail, mainly because it didn't work very well as a C64.

    This wasn't really the fault of Commodore because technically the C128 was 100% compatible with the C64 (as per Commodore coding regulations). The problem was that the software companies hadn't kept to spec when writing games for the C64. In an attempt to squeeze every little ounce of power and space, they had used all kinds of tricks (like using the C64 printer buffer etc). Anyway the upshot was that games like "Green Beret" and "Frankie goes to Hollywood" (how sad is I remember this without looking it up) just didn't work. So here we had a next generation C64 that didn't run all C64 games and had little to showcase and improvement in games. Most people kept with the C64 until the Amiga/ST hit the stores.

  10. #10
    DF VIP Member
    big3card's Avatar
    Join Date
    Mar 2009
    Location
    walsall
    Posts
    504
    Thanks
    64
    Thanked:        69
    Karma Level
    218

    Default Re: Hacking the Commodore C128

    The Commodore and its logo takes me back to school when a clipper lighter was lit and held upside down until the wheel and guard were red hot .. this was then squeezed against a victims NECK leaving them branded with a Commodore logo lol ... good old school days !

  11. #11
    DF VIP Member
    spraky's Avatar
    Join Date
    Mar 2002
    Location
    Ireland
    Posts
    268
    Thanks
    11
    Thanked:        29
    Karma Level
    294

    Default Re: Hacking the Commodore C128

    Racking my brain since I saw this thread, re. a game on the C64 where this dude with a "diaper" on ran along and you had to make him duck or jump over spears and stuff, think there was pyramids in it ???

  12. #12
    DF VIP Member DJ OD's Avatar
    Join Date
    Jul 2001
    Location
    On da decks.
    Posts
    10,114
    Thanks
    1,008
    Thanked:        2,254
    Karma Level
    1104

    Default Re: Hacking the Commodore C128

    Jack The Nipper maybe.

    I remember doing that with a clipper lighter, we called it a smiley thorough. Never noticed the commodore resemblance!


    DJ OD

  13. #13
    DF VIP Member XBOX4LIFE's Avatar
    Join Date
    Oct 2007
    Location
    NEWCASTLE
    Posts
    2,849
    Thanks
    271
    Thanked:        117
    Karma Level
    382

    Default Re: Hacking the Commodore C128

    Quote Originally Posted by spraky View Post
    Racking my brain since I saw this thread, re. a game on the C64 where this dude with a "diaper" on ran along and you had to make him duck or jump over spears and stuff, think there was pyramids in it ???
    Frak rings a bell, we modded the graphics on frak for the C64and rebadged it to say F**K, very immature add ons iirc but it's what really got me into computers might still have it somewhere lol

  14. #14
    DF VIP Member
    spraky's Avatar
    Join Date
    Mar 2002
    Location
    Ireland
    Posts
    268
    Thanks
    11
    Thanked:        29
    Karma Level
    294

    Default Re: Hacking the Commodore C128

    Just thought of it, it was "Aztec Warrior".

Similar Threads

  1. Shack hacking test link
    By unclex in forum The Dog and Duck
    Replies: 84
    Last Post: 5th January 2003, 07:36 PM
  2. Gamecube Hacking/Dev/Backup?
    By John Tormento in forum Nintendo Consoles
    Replies: 10
    Last Post: 14th October 2002, 05:09 PM
  3. Hacking Franklin Bookman handhelds to do other stuff
    By tinman in forum Home Audio/Video, Electronic Toys & Gadgets
    Replies: 0
    Last Post: 25th September 2002, 03:28 PM
  4. Replies: 5
    Last Post: 6th September 2002, 07:53 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •