Articles tagged “Text mode”

Kids, just say No to bilinear filtering

The old layout of the emulator was a bit of a mess. The Z80 emulator needed to sit inside a class of your design that inherited from IHardwareController (and so exposed methods to handle hardware devices) and another that inherited from IMemoryDevice that exposed methods that could be used to read and write to memory. As you might imagine, this got a little messy what with the various nested classes needing to pass references to eachother around. The new design is much more straightforwards - you build a class that inherits from Z80A (which is the basic Z80 emulator) and override the four functions for reading from/writing to memory addresses/hardware ports.

Read more

Text mode graphics and help file indexing

In light of the TMDC, I thought I'd package up the .NET class for easy text-mode graphics I'd been throwing together. Click for big Once initialised, all you need are two things; the Graphics object it provides to handle your drawing, and the Refresh() method to update the console with whatever it is you've been composing. It relies on a fairly large palette (128KB) which is hugely wasted in the current version - it maps every 16-bit colour value (R5G6B5) to an attribute/character pair. For the purpose of not looking extremely ugly, the palette provided only uses a few basic characters, not the full range, hence that 128KB could be reduced somewhat.

Read more

ASCII Madness II and Tutorials

Well, it's been a long time - here are two updates in one! First up, ASCII Madness II. It's a text-mode scene demo that runs in the Windows console using characters from the extended ASCII set to produce the effects. You can download it (and the source) from here. Next up are some simple tutorials. Oldschool graphics stuff, I'm afraid, but hopefully someone will find them of interest. They are presented in the form that I would have liked to have read... and I know that I'm not very conventional in my learning style.

Read more

RSSSearchBrowse by dateIndexTags