8bit

8 bit audio samples to 16 bit

This is my "weekend" hobby problem. I have some well-loved single-cycle waveforms from the ROMs of a classic synthesizer. These are 8-bit samples (256 possible values). Because they are only 8 bits, the noise floor is pretty high. This is due to quantization error. Quantization error is pretty weird. It messes up all frequencies a bit...

audio to 8-bit text sample conversion

Hello community. I have an interesting question today. I need to convert some pokemon audio files to a list of 8-bit samples (0-255 values). I am writing an assembly routine on the MC6800 chipset that will require these sounds to be played. I plan on including an array with the 8-bit samples that the program will loop through when a fun...

Overflow and Carry flags

Is it possible to add two signed 8-bit numbers together and set both the carry and overflow bits? ...

Is a fullscreen 8 bit framebuffer possible in X11, and if so, what am I doing wrong?

I'm trying to get a fullscreen 8 bit depth framebuffer but I can't find any visual to work with. I want 8 bit truecolor, where 3 bits are red, 3 bits are green and 2 bits are blue. I'm using XF86 to go fullscreen. // pass int found = XMatchVisualInfo(l_display, l_screen, 24, TrueColor, &visual); // all of these fail found = XMatchVisu...

How to get the Ansinerator library to work?

I'm trying to get the Ansinerator library to work my on my localhost, but something's amiss. I'm receiving the following errors: Notice: Undefined index: hash in ansi.php on line 23 Notice: Undefined index: aml in ansi.php on line 37 Notice: Undefined variable: PNG_DESTRUCT in ansi.php on line 119 Notice: Undefined offset: -1 in ansi.p...

What happens when you send an 8bit number to an output which is 4bit? C Language

I'm studying in high school, and we have an electronics project. We have an output from our computer which is 4 bit, output address is 37Ah and my teacher did this: outportb(0x37A,0x80); so what will appear in the output? 0h or 8h? ...

Address 0 being overwritten by NULL pointer on HCS08

On my 8-bit Freescale HCS08 micro, whenever I call a library function that returns values to pointers I pass it, and I don't really want them, I threw in a NULL, e.g. UART_SendBlock((char *)txstr, strlen(txstr), NULL); The type of the last argument is uint16_t * and returns the number of characters actually sent, a value I don't care...

How can I plan my software to avoid excessive rewriting and interdependencies

I'm writing a motor controller that has a couple of interfaces (buttons, Bluetooth, haptic knobs) which is a task that is steadily growing to be a larger than I figured. I've tried to just go at it by starting with low-level modules (e.g. write code to talk on the I2C bus), then ones above that (code to talk to a particular device on th...

Are there any current non-Harvard architecture microcontrollers?

I have used and like the Atmel ATMEGA and ATTINY series microcontrollers, and think them quite good. One thing I am not terribly fond of though is the fact that they (and Microchip PIC uC family also) are all Harvard machines, meaning I can't really put external memory to use or execute out of RAM, only the flash. While there are obviou...