Thursday, March 1, 2018

Now studying M68K programming

"The Ultimate M68K Cheat Sheet" is a document heavily influenced by MarkeyJester's work, who used a real Genesis to determine cycle counts for all M68K instructions with every source and destination operand possible.

My ultimate cheat sheet attempts to do the same, but ultra-compacts the information into as few tables as possible (31 tables to be exact, covering 9 pages) and incorporates notes from the famous "68000.pdf" (author unknown) floating around, making the beginner's difficult journey to mastering the M68K a whole lot easier.

By studying this document, you also learn what combinations of operands are possible for each instruction, and the cycle cost/availability as a byte, a word, or a long word operation. (For instance, "–/8/8" means that a byte version is not available, but a word and a longword is available at 8 cycles.)

To download my "ultimate" M68K cheat sheet, click here.


I've also taking a similar approach to programming the Genesis's VDP, by documenting different registers and techniques (such as DMA operations) into small, compact tables that take no more than 4 pages.

To download my "ultimate" Genesis VDP cheat sheet, click here.


Also, for practicing M68K assembly, I have been rewriting/improving existing decompression code found in Sonic the Hedgehog 1 (and apparently used by many other games such as Golden Axe), whose source is freely available.

  • "Nemesis" is compression is used for compressing sprite and tile graphics. It does so by creating a library of "brushes", essentially color indices paired with repeat counts. The more common these occur, the shorter the opcode used to indicate them. Opcodes are packed together, making for little waste. You can read more about it here .

    To download my improved Nemesis decompression code for use with Sonic 1: click here.

  • Kosinski decompression can be read about here.

    To download my improved Kosinski decompression code for use with Sonic 1: click here.

  • "Enigma" is used to compress backgrounds (collections of nametable attribute words). The entries are mainly compacted by encoding only those bits that the compression cares about (like declining to code for priority or x- or y-mirror bits, or just making the tile index use fewer bits than its maximum of 11). As usual, data is presented as a stream of bits, so there is little waste.

    To download my improved Enigma decompression code for use with Sonic 1: click here

  • Tuesday, July 4, 2017

    D2K ARCADE ROM for Intellivision D2K ARCADE ROM Page
    D2K Blocky Title
    Copyright © 2012, Classic Game Publishers, Inc.

    THE OFFICIAL SEQUEL TO DK ARCADE ON INTELLIVISION
    The Mixer The Refinery

    WHAT YOU GET

    Player Jumping
    • Binary in ROM and BIN+CFG format (compatible with most Intellivision emulators, the CC3, and the Intellicart),
    • PDF of full-color instruction booklet,
    • PDF of overlay with original artwork,
    • PDF of box front & back with original artwork.
    • Your name (or nickname, if desired) listed in in-game credits,
    • Individual serial number, based on the order of purchase.

    REVIEWS
    Girl Yelling Help "D2K ARCADE MUST BE SEEN TO BE BELIEVED. This dream-of-a-homebrew is a must-have for all classic gaming enthusiasts."
    THE VIDEOGAME CRITIC
    Read the Video Game Critic's "A+" Review
    DK Climbing "YES, THAT'S RIGHT, COLECOVISION AND NES OWNERS, your versions of the game…now take a back seat to this classy new cartridge…"
    BRETT WEISS
    Read Brett Weiss's 5 out of 5 Review
    Goofy Kong "D2K LOOKS, PLAYS, AND SOUNDS GREAT. I'm really impressed with the kind of quality they can squeeze out of an Intellivision cartridge!"
    CLASSIC GAME ROOM

    PLAYING SCREENS
    Barrels BARRELS …DK's tantrum has crushed and warped five levels of girders, turning them into a nightmare of ramps and rolling barrels! Jump for your life or grab a hammer and start smashing!
    Pie Factory PIE FACTORY …Treacherous conveyors, leaping flames, and "pies" that look almost good enough to eat… but don't be fooled! These trays of cement are massively dangerous!
    Elevators ELEVATORS …Two fast-moving columns of elevators and some nasty fireballs await you. Take the easy way out but be wary of the springs.
    Rivets RIVETS …Your only chance to reunite yourself with your loved one! Dismantle the structure by pulling out the support rivets and give the big ape a concussion he won't soon forget!
    Twisted Girders TWISTED GIRDERS …DK has "twisted" five more levels of girders! Barrels bounce high and come at you from both directions while flames rain down on you from above!
    The Mixer THE MIXER …A mixer tops off empty "pie" plates while full ones twirl down from the sky! Master the timing of the stopping conveyor or risk an embarrassing tumble into a tray full of cement!
    The Refinery THE REFINERY …Oil, gas, and an array of safety valves… this level has "danger" written all over it! Outwit DK by putting out fires at the top of both towers… before the timer runs out!
    Rivets TRIPLE ELEVATORS… Three elevator columns separate you from narrow structures guarded by merciless fireballs! Span treacherous gaps while dodging a barrage of madly bouncing springs!
    Rivets THE ELIMINATOR …Only appearing on level 3, this is DK's final attempt to "eliminate" you. Don't be afraid of the blue fire… it won't hurt you - unlike everything else!

    MORE FEATURES
    Fire Bullet Select from 3 playable characters – Mario, Bruno, or Toni – each with different strengths and weaknesses!
    Fire Bullet Silky smooth motion and crisp controls… Arcade-action on the Intellivision has never been this good!
    Fire Bullet Never before heard digital samples: Hear two distinct "growls", the girl cry for "HELP!"… and more!
    Fire Bullet Never before heard musical scores: Title, Game Over, and an alternate "victory" melody!
    Fire Bullet Arcade-quality enemy AI and timing… even "control" the barrels, Steve Wiebe-style, just like in King of Kong!
    Fire Bullet Two game variations, "classic" and "sequel", each with their own high-score!



    AGREEMENT

    By accepting the D2K ARCADE ROM, you agree to or acknowledge the following:
    • The ROM is for your personal use only. It is not to be distributed or sold to others under any circumstances.
    • Your personal information is encoded into the ROM, and can be traced back to you. Distribution of the ROM will decrease the likelihood of future ROM releases from Elektronite.
    • The ROM requires additional software or hardware to play -- emulators such as Nostalgia or jzIntv, or devices such as the CC3 or Intellicart.
    INSTRUCTIONS

    To receive the D2K ARCADE ROM, please do the following:
    • Make a donation using the donate button on the right (minimum $15 please).
    • Email carljr17@hotmail.com to let me know you want the ROM and also the name you would like used for the in-game credits (maximum 18 characters).
    • I will send the personalized ROM to you, and all associated PDFs as listed above, to the email address you use to notify me.
    PLEASE ALLOW 48 HOURS FOR DELIVERY TO YOUR E-MAIL ADDRESS!

    Visit our website for more exciting product information:

    www.elektronite.com

    Intellivision and the Running Man logo are registered trademarks ® of Intellivision Productions, Inc.
    Classic Game Publishers, Inc. and Elektronite are not affiliated with Intellivision Productions, Inc.

    Thursday, December 29, 2016

    ROCKS! Download Page
    ROCKS!
    Screenshot of Rocks! (Floating) Screenshot of Rocks! (Falling)
    Rocks! in floating mode. Ship being chased by pulser and time detonated mine, released by green alien
    Rocks! in falling mode. Berzerker has just pulverized a large meteor. Ship recently destroyed the green alien.
    DESCRIPTION
    During Christmas vacation of 1999, I wrote a game which was inspired by Astrosmash! for the Mattel Intellivision, itself inspired by the classic Atari game "Asteroids". Rocks! has 6 progressively more difficult stages, 4 unique enemies, and two different modes of game play: "floating" in which your ship can move freely about and enemies come from all sides, and "falling" in which you are confined to left-right movement on the ground and enemies come from the top of the screen. This is a good example of my OOP graphics library I had developed in the early 90s, my recently acquired understanding of trigonometry and physics, my high-speed bitmap scaling and rotation routines, and a simple sound effects engine which works on three different sound cards (Adlib, SoundBlaster, and the Gravis Ultrasound).

    EXAMINE YOUR CONTROLS
    Here are the keys used to control your ship, change the volume, and pause or exit the game:

    KEYPAD + Increase volume KEYPAD - Decrease volume
    ENTER Pause game A Toggle Auto-fire On/Off
    SPACEBAR Fire CTRL Hyperspace!
    RIGHT ARROW Rotate ship clockwise LEFT ARROW Rotate ship counter-clockwise
    UP ARROW Thrust DOWN ARROW Counter-thrust
    ESC Quit game


    DOWNLOAD AGREEMENT

    By downloading ROCKS! for MS-DOS, you agree to or acknowledge the following:
    • Rather than posting a download link to the file, you will post a link to this page instead.
    • If you find the game educational or entertaining you will ( please) consider making a donation.
    Download ROCKS! for MS-DOS (DOSBox included)

    Tuesday, December 27, 2016

    D1K ARCADE ROM Download Page
    Cartridge Label

    DK ARCADE FOR THE INTELLIVISION
    Pie Factory Elevators

    WHAT YOU GET

    DK Grabbing Girl
    • Binary in ROM and BIN+CFG format (compatible with most Intellivision emulators, the CC3, and the Intellicart),
    • PDF of instruction sheet,
    • PDF of overlay with original artwork,
    • PDF of box cover with original artwork.

    REVIEWS
    Girl Yelling Help "CLASSIC GAMERS ARE IN FOR A SHOCK. This cartridge is every bit as challenging, addictive, and fun as the arcade original."
    THE VIDEOGAME CRITIC
    Read the Video Game Critic's "A" Review
    DK Climbing "IF YOU HAVE AN INTELLIVISION, GET THIS GAME! If you don’t have an Intellivision, get one and then get this game."
    RETRO VIDEO GAMER UK
    Read Retro Video Gamer's 10 out of 10 Review
    Game of the Year 2011 "DK ARCADE IS THE BEST OF THE BUNCH. DK ARCADE shows what Coleco should have done back in the day."
    FUSHEK, ATARIAGE USER
    Read the "Game of the Year 2011" thread on Atariage

    PLAYING SCREENS
    Barrels BARRELS …DK's tantrum has crushed and warped five levels of girders, turning them into a nightmare of ramps and rolling barrels! Jump for your life or grab a hammer and start smashing!
    Pie Factory PIE FACTORY …Treacherous conveyors, leaping flames, and "pies" that look almost good enough to eat… but don't be fooled! These trays of cement are massively dangerous!
    Elevators ELEVATORS …Two fast-moving columns of elevators and some nasty fireballs await you. Take the easy way out but be wary of the springs.
    Rivets RIVETS …Your only chance to reunite yourself with your loved one! Dismantle the structure by pulling out the support rivets and give the big ape a concussion he won't soon forget!

    MORE FEATURES
    Fire Bullet Select from 3 playable characters – Mario, Bruno, or Toni – each with different strengths and weaknesses!
    Fire Bullet Silky smooth motion and crisp controls… Arcade-action on the Intellivision has never been this good!
    Fire Bullet Never before heard digital samples: Hear two distinct "growls", the girl cry for "HELP!"… and more!
    Fire Bullet Never before heard musical scores: Title, Game Over, and an alternate "victory" melody!
    Fire Bullet Arcade-quality enemy AI and timing… even "control" the barrels, Steve Wiebe-style, just like in King of Kong!
    Fire Bullet Two game variations, "USA" and "Japan", each with their own high-score!


    DOWNLOAD AGREEMENT

    By downloading the D1K ARCADE ROM, you agree to or acknowledge the following:
    • Rather than posting a download link to the binary, you will post a link to this page instead.
    • If you find a game educational or entertaining you will ( please) consider making a donation.
    • The ROM requires additional software or hardware to play -- emulators such as Nostalgia or jzIntv, or devices such as the CC3, LTO Flash! or Intellicart.

    Download DK ARCADE for Intellivision

    Visit our websites for more exciting product information:

    www.classicgamepublishers.com
    www.elektronite.com

    Intellivision and the Running Man logo are registered trademarks ® of Intellivision Productions, Inc.
    Classic Game Publishers, Inc. and Elektronite are not affiliated with Intellivision Productions, Inc.

    Wednesday, June 22, 2016

    INTELLIVISION FOR GAMEBOY
    COLOR / 8-BIT NES


    Screenshot of Astrosmash! (I4NES) Screenshot of World Championship Baseball (I4NES)
    Using the pop-up menu to enable auto-firing in Astrosmash!
    Reviewing the controller mappings in Baseball for both players

    In addition to Intellivision for PC (see VOL1 , VOL2, or the Intellivision Lives! Website ), I also wrote two other Intellivision emulators. These emulators are unique in that they run on inexpensive, low-powered 8-bit systems (in the case of Intellivision for 8-bit NES, running at only 1.7 MHz and with only 2K RAM). They are written entirely in hand-optimized assembly language, and employ several pre-processing technologies that I myself developed.

    EMULATION FEATURES
    • A configurable, context-sensitive menu system to simplify controller mappings and to aid with inputting numbers.
    • A configurable, context-sensitive camera that pans to show you the most important areas of the screen, allowing the games original layouts to be preserved.
    • Making use of the taller screen when scrolling vertically to fill the entire screen, allowing you to see a larger area vertically than what would be possible on a real Intellivision.
    • The ability to store graphics on inexpensive ROM.
    • The ability to replace and enhance the graphics (without changing the original game code), offering double the resolution of the Intellivision, and the possibility of multicolor.

    NOTE: To try Intellivision for Gameboy Color, you must have a collection of Intellivision binaries, including the built-in operating system, and the graphics ROM. You can get these on the Intellivision Lives! CD-ROM.

    DOWNLOAD AGREEMENT

    By downloading I4NES and/or I4GBC, you agree to or acknowledge the following:
    • You will give me credit, or at least let me know if you decide to use portions of the source code in any published work.
    • Rather than posting a download link to the binary or source code, you will post a link to this page instead.
    • If you find the source and/or games educational or entertaining, you will (please) consider making a donation.

    Download Intellivision for Gameboy Color

    Download Intellivision for NES (DEMO)
    MS. PAC-MAN ARCADE for Intellivision
    Cartridge Label

    MS. PAC-MAN FOR THE INTELLIVISION

    Screen 0 Screen 2

    WHAT YOU GET

    • Binary in ROM and BIN+CFG format (compatible with most Intellivision emulators, the CC3, and the Intellicart),
    • PDF of instruction sheet,
    • PDF of overlay with original artwork,
    • PDF of box cover with original artwork.
    • FULL commented source code.
    • PLIMP tile-map & pixel editor.

    REVIEWS
    "THIS IS FANTASTIC!. … this is probably the best, pure arcade-style game for the system."
    THE VIDEOGAME CRITIC
    Read the Video Game Critic's "A" Review

    PLAYING SCREENS

    Arcade Boards 0-3
    Extra Boards 0-3
    Extra Boards 4-6, Wide Board 7
    Wide Boards 1-4
    Wide Boards 5-6, Strange Boards 0-1
    Strange Boards 2-5

    MORE FEATURES

    Select from 3 playable characters – Ms. Pac-Man, Pac-Man, or Pac-Man Jr. – each with different strengths and weaknesses!
    Silky smooth motion and crisp controls… Arcade-action on the Intellivision has never been this good!
    All three intermissions from the arcade, as cute and fun as ever!
    Robust options screen, offering endless game-variations and replay value!
    Four different maze themes, offering up to 24 screens and 24 food items in all!


    DOWNLOAD AGREEMENT

    By downloading MS. PAC-MAN for Intellivision, you agree to or acknowledge the following:
    • You will give me credit, or at least let me know if you decide to use portions of the source code in any published work.
    • Rather than posting a download link to the binary or source code, you will post a link to this page instead.
    • If you find the source and/or game educational or entertaining, you will (please) consider making a donation.
    Download Ms. Pac-Man for Intellivision (source + binary)

    Visit our websites for more exciting product information:

    www.intellivision.us

    Intellivision and the Running Man logo are registered trademarks ® of Intellivision Productions, Inc.
    Intelligentvision is not affiliated with Intellivision Productions, Inc.