• Please review our updated Terms and Rules here

Recent content by bakemono

  1. B

    Help with C/C++ inline assembly divide and shift (for fixed point math) on 16 bit / 8086 target.

    What does the code generated by the compiler look like?
  2. B

    Help with C/C++ inline assembly divide and shift (for fixed point math) on 16 bit / 8086 target.

    Looks like the right idea, but I'm not a C programmer so someone else might have to weigh in. Is >> a signed shift right in C? (IIRC you have to use >>> in Verilog at least)
  3. B

    Help with C/C++ inline assembly divide and shift (for fixed point math) on 16 bit / 8086 target.

    for the divide you can try this cwd shl ax,1 rcl dx,1 shl ax,1 rcl dx,1 mov dh,dl mov dl,ah mov ah,al mov al,0 idiv bx Might be just as good if you leave out the mov al,0 for that matter. In your matrix multiply you have a series of multiply-accumulate operations. It would be more efficient...
  4. B

    Help with C/C++ inline assembly divide and shift (for fixed point math) on 16 bit / 8086 target.

    how about this imul bx shr dx,1 rcr ax,1 shr dx,1 rcr ax,1 mov al,ah mov ah,dl
  5. B

    Help with C/C++ inline assembly divide and shift (for fixed point math) on 16 bit / 8086 target.

    I'm not sure if you're counting on overflows to be handled a certain way, but I think your multiply routine would be faster to shift left by 6 and take the result from DX instead of shifting right 10 and taking the result from AX. Or just shift 2 bits and then shuffle your 8-bit registers. For...
  6. B

    How picky is NT 4.0 with CPUs?

    You mentioned it was a SCSI disk. If you don't also have the SCSI card that it was originally connected to, then the most likely result of trying to boot it is an "inaccessible boot device" BSOD when it can't find the card. If you do have the card, then I'd say ignore the naysayers and try it...
  7. B

    Obsolete ICs datasheets

    most of what I can see in the photo would be covered in The TTL Data Book http://www.bitsavers.org/components/ti/_dataBooks/1981_TI_The_TTL_Data_Book_For_Design_Engineers_2ed.pdf
  8. B

    What are good examples of Windows Vista/7 era laptops that can run XP?

    Again, not true. Why not read up on what a PCI BAR is? https://www.patreon.com/posts/44371506 When using 32-bit BARs, the CPU can't see more than 256MB at a time. Doesn't really need to anyway, because for large data transfers the GPU itself can just use DMA to copy from system RAM. listing of...
  9. B

    What are good examples of Windows Vista/7 era laptops that can run XP?

    Video memory doesn't compete with system RAM in the memory map. The video driver accesses the card through a 256MB window. You can have 3GB RAM and 2GB VRAM under 32-bit Windows no problem. With that being said, few if any games that run on XP need 2GB of VRAM. If you want a cheap AMD system...
  10. B

    Z280 homebrew board plan

    My Z280 now has a 1MB Trident SVGA card. Photo of hardware: http://www.hyakushiki.net/misc/z-svga1.jpg Photo of amazing monitor test pattern: http://www.hyakushiki.net/misc/z-svga2.jpg Getting that to work was harder than I expected. I had first tried a CL-GD5x0 VGA card, then briefly a CHIPS...
  11. B

    Using XP

    .NET Framework isn't needed to run imgburn or duplicate a CD. I'm going to say that OP had autorun enabled and by inserting the CD inadvertently started some program on the CD that displayed the message about needing .NET. BTW, the latest browsers for XP are roytam1's Serpent and Newmoon, MyPal...
  12. B

    Anyone ever though about a clone/improvement on those RAM-drives?

    Getting FPGAs to mesh with common interfaces (like DIMMs, PCIe, etc.) is generally a solved problem. You can get code for a DDR controller from github.
  13. B

    Z280 homebrew board plan

    Hi Plasmo, I saw a post about one of your earlier boards a couple years back. Didn't know you were also working on a ZBUS version! Are there any interesting secrets you've discovered about the Z280 that may have been missing or wrong in the documentation?
  14. B

    Z280 homebrew board plan

    first signs of life from this, in the form of some blinking LEDs http://www.hyakushiki.net/misc/z280-led.JPG Right now the 7128 is just directly feeding a pair of instructions to the CPU. The instructions load the A register, and write it out to I/O port $80 which is then reflected on the LEDs...
  15. B

    Enabling UDMA on system that supports it but no option in BIOS

    In 2k/XP you should be able to right-click on the 'Primary IDE Channel' in the device manager to bring up a properties window with DMA settings. Maybe you need the Via chipset drivers installed? If you want UDMA under DOS you could try Jack Ellis drivers.
Back
Top