Click here to Skip to main content
15,905,867 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralPing Pin
5imone6-Dec-16 20:35
professional5imone6-Dec-16 20:35 
GeneralRe: Ping Pin
Member 116832516-Dec-16 20:49
Member 116832516-Dec-16 20:49 
GeneralRe: Ping Pin
Jochen Arndt6-Dec-16 20:49
professionalJochen Arndt6-Dec-16 20:49 
GeneralRe: Ping Pin
glennPattonWork36-Dec-16 21:40
professionalglennPattonWork36-Dec-16 21:40 
GeneralRe: Ping Pin
OriginalGriff6-Dec-16 21:56
mveOriginalGriff6-Dec-16 21:56 
GeneralRe: Ping Pin
Mark_Wallace6-Dec-16 22:41
Mark_Wallace6-Dec-16 22:41 
GeneralRe: Ping Pin
Herman<T>.Instance6-Dec-16 22:41
Herman<T>.Instance6-Dec-16 22:41 
GeneralHPOTD #2 Pin
CDP18026-Dec-16 10:17
CDP18026-Dec-16 10:17 
Now that I'm at home, i finally have time to do some game programming, oldschool style. Well, actually far more comfortable than oldschool ever was. I have a crossassembler which is called with a makefile. Visual Studio is my source editor and I have an emulator to run the program. I even have an old debugger, the first program I ever bought, which runs in the emulator and allows me to debug my program in its native environment.

The emulator emulates an old COSMAC Elf (or Elf II) with a CDP1861 graphics chip and a whopping expanded RAM of 4k. The graphics resolution is 64 x 64 (monochrome). This is a computer from 1976 and it would have cost you 200$ worth of parts back then, including the RAM expansion. A working computer at that price was a bargain back then and any graphics capability at all was still uncommon.

And yes, you had to solder it together yourself and printed circuit boards still were an expensive luxury.

Here is a small screenshot from one of the first game screens: 'Your mission:'[^].

The graphics chip only generates an image of 64 x 64 pixels, nothing more. Before beginning with the game, I first had to set up an interrupt routine that feeds the graphics data to the video chip, a subroutine that draws software sprites, a subroutine that extracts the bit pattern of a character from a 96 character font and draws it as a sprite at any position, a subroutine that draws a zero terminated string, a subroutine that converts a byte to a decimal string and a random number generator. All that in about 600 bytes.

You can see how all that works in the screenshot above. I would never have thought that lower case would actually work at such a low resolution. In the old days they always used all upper case fonts, especially to save 1/3 of the memory used for the font.

Here [^] are my new Klingons and Romulans, taking Griff's modifications, doubled resolution and drawn with the CPallini method. Thanks for the help, the Klingon now looks great, the Romulan still like some killer flounder. Smile | :)
The language is JavaScript. that of Mordor, which I will not utter here

This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.

"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."

If software development were a circus, we would all be the clowns.


modified 6-Dec-16 16:25pm.

GeneralRe: HPOTD #2 Pin
OriginalGriff6-Dec-16 10:35
mveOriginalGriff6-Dec-16 10:35 
GeneralRe: HPOTD #2 Pin
CDP18026-Dec-16 10:48
CDP18026-Dec-16 10:48 
GeneralRe: HPOTD #2 Pin
MarkTJohnson7-Dec-16 3:51
professionalMarkTJohnson7-Dec-16 3:51 
GeneralRe: HPOTD #2 Pin
CDP18027-Dec-16 4:37
CDP18027-Dec-16 4:37 
GeneralRe: HPOTD #2 Pin
F-ES Sitecore6-Dec-16 23:14
professionalF-ES Sitecore6-Dec-16 23:14 
GeneralRe: HPOTD #2 Pin
CDP18026-Dec-16 23:38
CDP18026-Dec-16 23:38 
GeneralRe: HPOTD #2 Pin
CPallini6-Dec-16 23:43
mveCPallini6-Dec-16 23:43 
GeneralRe: HPOTD #2 Pin
CDP18026-Dec-16 23:47
CDP18026-Dec-16 23:47 
GeneralSystem Requirements for VS Pin
Mark_Wallace6-Dec-16 7:31
Mark_Wallace6-Dec-16 7:31 
GeneralRe: System Requirements for VS Pin
lopati: loaming6-Dec-16 17:29
lopati: loaming6-Dec-16 17:29 
GeneralRe: System Requirements for VS Pin
dandy727-Dec-16 3:25
dandy727-Dec-16 3:25 
GeneralRe: System Requirements for VS Pin
pherschel8-Dec-16 8:54
pherschel8-Dec-16 8:54 
GeneralRe: System Requirements for VS Pin
BillWoodruff6-Dec-16 17:57
professionalBillWoodruff6-Dec-16 17:57 
GeneralRe: System Requirements for VS PinPopular
Mark_Wallace6-Dec-16 22:41
Mark_Wallace6-Dec-16 22:41 
GeneralRe: System Requirements for VS Pin
User 99160807-Dec-16 4:26
professionalUser 99160807-Dec-16 4:26 
GeneralRe: System Requirements for VS Pin
BillWoodruff8-Dec-16 19:03
professionalBillWoodruff8-Dec-16 19:03 
GeneralRe: System Requirements for VS Pin
Gary Wheeler7-Dec-16 6:55
Gary Wheeler7-Dec-16 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.