Search found 122 matches
- Mon Sep 20, 2021 7:49 am
- Forum: Programming
- Topic: Routines to handle Commodore 1541 drive
- Replies: 3
- Views: 882
Routines to handle Commodore 1541 drive
In my 6502 based computer im implemented commodore bus port, thinking of future support of 1541 drive or its modern SD card based equivalent. It isn't direct copy of commodore circuit because I replaced PIA chip with Intel 8255 parallel port, so I am aware that I will have to rewrite low level I/O ...
- Sat Sep 11, 2021 9:36 pm
- Forum: EhBASIC
- Topic: Loading and Saving S19 files
- Replies: 1
- Views: 9124
Loading and Saving S19 files
Some time ago I've build simple 6502 based computer. At this point it is able to run EhBasic. Unfortunately it is not fully usable without working LOAD/SAVE functionality.
I am looking for some tested functionality. For now I'll be fully satisfied by loading (and saving) Motorola S19 files through ...
I am looking for some tested functionality. For now I'll be fully satisfied by loading (and saving) Motorola S19 files through ...
- Mon Aug 30, 2021 8:05 pm
- Forum: General Discussions
- Topic: 6800 Basic or monitor
- Replies: 18
- Views: 3343
Re: 6800 Basic or monitor
Ok, I am back here to report that computer is mostly working now. There is TMS9918 CRT controller and AT keyboard, serving as main I/O devices. Programs can be loaded with RS282, from S19 files.
I still wasn't able to move Basic to EPROM unfortunately. But it runs some 1970's text based games, like ...
I still wasn't able to move Basic to EPROM unfortunately. But it runs some 1970's text based games, like ...
- Sun Aug 22, 2021 7:14 am
- Forum: General Discussions
- Topic: 6800 Basic or monitor
- Replies: 18
- Views: 3343
Re: 6800 Basic or monitor
* Microsoft BASIC for the Altair 680
Unfortunately as fr I know there are no sources available. Making it run on my hardware will be tricky and above my skill I am affraid...
* Robert Uiterwyk's 4K and 8K BASIC for the SWTPC 6800. I think the MicroBASIC you have is the 4K version. The source ...
- Sat Aug 21, 2021 4:53 pm
- Forum: General Discussions
- Topic: 6800 Basic or monitor
- Replies: 18
- Views: 3343
Re: 6800 Basic or monitor
Ok, as for now:
1) I was able to port SMITHBUG monitor to run with my hardware.
2) I was able to use S19 file loader to load software to RAM.
3) I was able to port TSC MicroBasic and run it from RAM.
4) Unfortunately (despite info from comments) this interpreter turned out not to be ROM friendly. It ...
1) I was able to port SMITHBUG monitor to run with my hardware.
2) I was able to use S19 file loader to load software to RAM.
3) I was able to port TSC MicroBasic and run it from RAM.
4) Unfortunately (despite info from comments) this interpreter turned out not to be ROM friendly. It ...
- Mon Aug 16, 2021 3:40 pm
- Forum: General Discussions
- Topic: 6800 Basic or monitor
- Replies: 18
- Views: 3343
Re: 6800 Basic or monitor
Ok. After taking closer look at this code I can only conclude that it was designed to run on top of some Monitor software.
There are hard-coded memory addresses in the code that doesn't appear to point at some I/O devices, but rather ROM/RAM locations.
For example:
PFILBG equ $A002
PFILEN equ ...
There are hard-coded memory addresses in the code that doesn't appear to point at some I/O devices, but rather ROM/RAM locations.
For example:
PFILBG equ $A002
PFILEN equ ...
- Mon Aug 16, 2021 12:39 pm
- Forum: General Discussions
- Topic: 6800 Basic or monitor
- Replies: 18
- Views: 3343
Re: 6800 Basic or monitor
I have been told that this topic may be violating rules of this forum, because it is only about 6502. In my opinion 6800 is related to the MOS CPU (shared peripherals like ACIA or PIA, identical bus, very similar assembly language) but I do not want to violate any rules. So if this subject is ...
- Mon Aug 16, 2021 7:48 am
- Forum: General Discussions
- Topic: 6800 Basic or monitor
- Replies: 18
- Views: 3343
Re: 6800 Basic or monitor
It seems there are some tiny basic interpreters around for the 6800... and some have available source as well:
https://deramp.com/swtpc.com/NewsLetter1/MicroBasic.htm
https://www.corshamtech.com/wp-content/uploads/2021/01/MicroBas.zip
Thanks. I tried to assemble this interpreter with AS02 ...
https://deramp.com/swtpc.com/NewsLetter1/MicroBasic.htm
https://www.corshamtech.com/wp-content/uploads/2021/01/MicroBas.zip
Thanks. I tried to assemble this interpreter with AS02 ...
- Thu Aug 12, 2021 6:14 pm
- Forum: General Discussions
- Topic: 6800 Basic or monitor
- Replies: 18
- Views: 3343
6800 Basic or monitor
While building my homemade 6502 computer, I designed twin device based on Motorola MC6802 CPU. Designing hardware part was quite trivial task as both processors share many similarities. I was also able to relatively simply translate I/O routines to 6800 assembly. So at this point I can read keyboard ...
- Wed Aug 11, 2021 10:44 am
- Forum: EhBASIC
- Topic: Accessing CF card
- Replies: 21
- Views: 40375
Re: Accessing CF card
At the risk of encouraging you to write another 16KB of code, I'd encourage you to put a well known filesystem on the card - namely entry level FAT.
The main problem is that I didn't design my hardware with such features in mind, so there is not enough of EPROM to fit all that code. I just use ...
- Wed Aug 11, 2021 10:06 am
- Forum: EhBASIC
- Topic: Accessing CF card
- Replies: 21
- Views: 40375
Accessing CF card
I am relatively close to finish my project of 6502 based computer. Recently I was able to make it run CRT screen with TMS9918 chip and PC AT keyboard with 8242 chip. Now it is nearly fully functional EhBasic computer. Now I just need some solution to save and load programs.
There is CF card socket ...
There is CF card socket ...
- Thu Aug 05, 2021 8:01 pm
- Forum: Hardware
- Topic: Weird behavior of TMS9918
- Replies: 1
- Views: 940
Weird behavior of TMS9918
This is not entirely 6502 related topic but I know this chips is quite popular among people designing own 6502 systems, so maybe I will be able to find some help here.
Some time ago I used TMS9918 in my 6502 computer, basing my design on this schematic to use it with modern single SRAM memory chip ...
Some time ago I used TMS9918 in my 6502 computer, basing my design on this schematic to use it with modern single SRAM memory chip ...
- Mon Aug 02, 2021 1:51 pm
- Forum: Programming
- Topic: Easiest way to divide 16bit value by 40
- Replies: 13
- Views: 1299
Easiest way to divide 16bit value by 40
I am looking for some esy way to divide 16bit variable by 40. Variable is used to point to the test cursor location in VRAM memory. Screen size is 24x40 so I need divide cursor value by 40 do determine number of current line. Cursor value will never exceed 960, so result will always be 1 byte number ...
- Wed Jul 28, 2021 6:51 pm
- Forum: Programming
- Topic: Reading data from memory
- Replies: 5
- Views: 1399
Re: Reading data from memory
John West wrote:
The problem is that the JSR is pushing the return address, so that's going to be at the top of the stack when VDDWVRAM starts.
- Mon Jul 26, 2021 3:49 pm
- Forum: Programming
- Topic: Reading data from memory
- Replies: 5
- Views: 1399
Reading data from memory
I returned to one of my old projects - homemade computer with 6502 and TMS9918 video controller.
Computer itself works with EhBasic, now I am going to write some code to add the TMS9918 support. I already done that with my other project utilizing 8080 CPU, so it is tested design. I also have 8080 ...
Computer itself works with EhBasic, now I am going to write some code to add the TMS9918 support. I already done that with my other project utilizing 8080 CPU, so it is tested design. I also have 8080 ...