Coder Social home page Coder Social logo

visrealm / hbc-56 Goto Github PK

View Code? Open in Web Editor NEW
183.0 183.0 26.0 67.31 MB

Homebrew 65C02 computer on a backplane

Home Page: https://youtube.com/@TroySchrapel

License: MIT License

Assembly 51.06% Python 0.75% C 38.06% Makefile 0.63% HTML 1.15% Batchfile 0.04% JavaScript 1.12% CSS 0.73% C++ 5.94% PHP 0.09% CMake 0.29% Shell 0.01% BASIC 0.13%
6502 6502-processor 8-bit assembly ay-3-8910 backplane c commodore emulation emulator homebrew pcb tms9918 z80

hbc-56's People

Contributors

bearney74 avatar troy-petrosys avatar tschrapel avatar visrealm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hbc-56's Issues

Emulator: Add support for debugging ca65/cc65/cl65 source code

How would I add my source code to view like your examples? And I see that you are using a linker map file and not just a regular map file? How compatible is it with the map file generated from cl65?

I have successfully compiled (and run?) a C program + Asm using cc65. I am not sure what its doing now, since I can only see a portion of raw disassembled instructions.

Thanks!

SN76489 Card for HBC-56

As I delved into the project, I entertained the idea of exploring an alternative approach before proceeding with the creation of a Z-80 card for the HBC-56. Specifically, I am considering the development of a sound card featuring the Texas Instruments SN76489 chip(Also used on the SEGA Master System and the BBC Micro).

I have come across the Baffa-2 Sound Card, designed for another Card-based homebrew computer, incorporating the same SN76489 chip. I believe this could be an interesting starting point for our endeavor. For your convenience, I have attached the relevant documentation: BaffaVision_Soundboard_SN76489_rev1_PCBWay Community.pdf.

I would appreciate your insights and feedback on this proposal, as well as any guidance on how we might proceed with the development of a similar sound card for the HBC-56.

Thank you in advance for your time and consideration. I look forward to your response.

Build error on Ubuntu 22.04

Installed using instructions on https://github.com/visrealm/hbc-56/tree/main/emulator

When running cmake --build . --config Release on Ubuntu 22.04. I get the error below.

/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_source_destroy':
SDL_waylanddatamanager.c:(.text+0x763): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_offer_receive':
SDL_waylanddatamanager.c:(.text+0x87b): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_offer_destroy':
SDL_waylanddatamanager.c:(.text+0x9f3): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_device_clear_selection':
SDL_waylanddatamanager.c:(.text+0xab8): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_device_set_selection':
SDL_waylanddatamanager.c:(.text+0xb7d): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o:SDL_waylanddatamanager.c:(.text+0xc15): more undefined references to `wl_proxy_marshal_flags' follow
collect2: error: ld returned 1 exit status
make[2]: *** [emulator/thirdparty/SHARED/CMakeFiles/SDL2.dir/build.make:3193: emulator/thirdparty/SHARED/libSDL2-2.0.so.0.17.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:1315: emulator/thirdparty/SHARED/CMakeFiles/SDL2.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Also I can confirm that I definitly have libwayland-dev installed

Any ideas?

4k problem with Web Emu

Hello Troy,
I found a problem with 4k resolution and the web based Emu, is not properly working see picture.
image

If I reduce screen resolution to 1080p AND set zoom to 80%, the debug info is there.

Workaround I tried the same trick if I zoom to 67% debug Data is there but everything is very small.

image

Best regards
Stefan

Test/lcd/lcdtype.asm missing cli?

Main loop not working as no key strokes is detected
adding a "cli" before main loop makes it work.
Not sure but guess that would fix the problem.

Can't build the project on Windows 11

I'm getting this error when I try to build the project in VS Code:

FAILED: bin/Hbc56Emu.exe
cmd.exe /C "cd . && C:\msys64\mingw64\bin\g++.exe -Wno-uninitialized -Wno-uninitialized -O3 -DNDEBUG -mwindows emulator/src/CMakeFiles/Hbc56Emu.dir/debugger/debugger.cpp.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/6502_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/ay38910_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/keyboard_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/lcd_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/memory_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/nes_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/tms9918_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/uart_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/devices/via_device.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/hbc56emu.cpp.obj emulator/src/CMakeFiles/Hbc56Emu.dir/audio.c.obj emulator/src/CMakeFiles/Hbc56Emu.dir/Hbc56Emu.rc.obj -o bin\Hbc56Emu.exe -Wl,--out-implib,emulator\src\libHbc56Emu.dll.a -Wl,--major-image-version,0,--minor-image-version,0  emulator/modules/65c02/src/libvrEmu6502.dll.a  emulator/modules/65c22/src/libvrEmu6522.dll.a  emulator/modules/tms9918/src/libvrEmuTms9918Util.dll.a  emulator/modules/lcd/src/libvrEmuLcd.dll.a  emulator/modules/ay38910/libemu2149.dll.a  emulator/thirdparty/libimgui.a  emulator/thirdparty/SHARED/libSDL2main.a  emulator/modules/tms9918/src/libvrEmuTms9918.dll.a  emulator/thirdparty/SHARED/libSDL2.dll.a  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../lib/libmingw32.a(lib64_libmingw32_a-crtexewin.o): in function `main':
C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:67:(.text.startup+0xbd): undefined reference to `WinMain'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

I'm not terribly familiar with development on Windows but I've installed the Windows SDK and everything else builds except for the hbc56emu.exe binary. Any pointers?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.