Hi,
I modified pico-6502 to emulate Apple1 (Replica1).
It worked with original binary of Wozmon, krusader, and 8K basic, which located at $E000-$FFFF.
I forked noneya's dev branch and create new branch.
https://github.com/kuwatay/pico-6502-apple1/tree/apple1
Thank you for your useful code ...
Search found 94 matches
- Mon Oct 23, 2023 10:03 pm
- Forum: Emulation and Simulation
- Topic: Raspberry Pi Pico 6502 emulator
- Replies: 49
- Views: 55609
- Mon Oct 23, 2023 10:02 pm
- Forum: Emulation and Simulation
- Topic: Raspberry Pi Pico 6502 emulator
- Replies: 49
- Views: 55609
Re: Raspberry Pi Pico 6502 emulator
jfoucher > I forked the repo and will sync my changes tomorrow. Let me know if you would be interested in pull request back to your repo ?
I'm curious if Fake6502 is open source, as well as the work you've done with 6502emu.c, etc?
Thanks
Sorry for not responding earlier. As far as I can tell ...
- Mon Apr 03, 2023 1:54 pm
- Forum: Programming
- Topic: Challenge: smallest CF card bootstrap ROM
- Replies: 15
- Views: 15064
Re: Challenge: smallest CF card bootstrap ROM
plasmo wrote:
Yes! using BIT instruction would save 1 byte of opcode. Thank you.
Bill
Bill
Code: Select all
LDA CFstat
BMI readbsy- Sun Apr 02, 2023 11:23 am
- Forum: Programming
- Topic: Challenge: smallest CF card bootstrap ROM
- Replies: 15
- Views: 15064
Re: Challenge: smallest CF card bootstrap ROM
Very nice Bill, I will be studying your code closely. I actually tried not setting the track/sector registers, as that saves around 9 bytes, but then I could not read from the card. I'll have to try again, because maybe something else was wrong while I was testing this.
- Fri Mar 31, 2023 12:06 pm
- Forum: Hardware
- Topic: Smallest parallel EPPROM available in 2023
- Replies: 14
- Views: 2374
Re: Smallest parallel EPPROM available in 2023
Here is the new post: viewtopic.php?f=2&t=7559
- Fri Mar 31, 2023 12:05 pm
- Forum: Programming
- Topic: Challenge: smallest CF card bootstrap ROM
- Replies: 15
- Views: 15064
Challenge: smallest CF card bootstrap ROM
Hi,
I recently got a CompactFlash card working on my Planck computer, and for some reason, I've been trying to create the smallest possible bootstrap code, that will copy code and data from the CF card into RAM and jump to it.
I'm down to 81 bytes (excluding reset vectors) and I thought it would ...
I recently got a CompactFlash card working on my Planck computer, and for some reason, I've been trying to create the smallest possible bootstrap code, that will copy code and data from the CF card into RAM and jump to it.
I'm down to 81 bytes (excluding reset vectors) and I thought it would ...
- Thu Mar 30, 2023 6:01 pm
- Forum: Hardware
- Topic: Smallest parallel EPPROM available in 2023
- Replies: 14
- Views: 2374
Re: Smallest parallel EPPROM available in 2023
So this is as far as I managed to get:
reset:
cf_init:
jsr cf_wait
lda #$E0
sta CF_ADDRESS + 6
lda #$1
sta CF_ADDRESS + 1
inc
sta io_buffer_ptr + 1 ; store 2 in high byte of pointer
stz io_buffer_ptr ; store 0 in low byte of pointer
lda #$EF
sta CF_ADDRESS + 7
jsr cf_wait
set_lba ...
reset:
cf_init:
jsr cf_wait
lda #$E0
sta CF_ADDRESS + 6
lda #$1
sta CF_ADDRESS + 1
inc
sta io_buffer_ptr + 1 ; store 2 in high byte of pointer
stz io_buffer_ptr ; store 0 in low byte of pointer
lda #$EF
sta CF_ADDRESS + 7
jsr cf_wait
set_lba ...
- Wed Mar 29, 2023 9:57 pm
- Forum: Hardware
- Topic: Smallest parallel EPPROM available in 2023
- Replies: 14
- Views: 2374
Re: Smallest parallel EPPROM available in 2023
kernelthread wrote:
Here's a bit of C code I wrote a while back which transforms a binary file into a CUPL statement which creates a ROM.
- Wed Mar 29, 2023 8:56 pm
- Forum: Hardware
- Topic: Smallest parallel EPPROM available in 2023
- Replies: 14
- Views: 2374
Re: Smallest parallel EPPROM available in 2023
I believe you can read CF into RAM with 32 bytes of ROM
Haha, ok, challenge accepted! I'll give that a try first of all and let you know how it goes!
A 22V10 would probably make a good small ROM - it has lots of product terms.
Oh interesting on the 22V10, I have quite a few of those. I'll see ...
Haha, ok, challenge accepted! I'll give that a try first of all and let you know how it goes!
A 22V10 would probably make a good small ROM - it has lots of product terms.
Oh interesting on the 22V10, I have quite a few of those. I'll see ...
- Wed Mar 29, 2023 7:38 pm
- Forum: Hardware
- Topic: Smallest parallel EPPROM available in 2023
- Replies: 14
- Views: 2374
Re: Smallest parallel EPPROM available in 2023
I have recently managed to read data from a CompactFlash card, and I wanted to try using a very small boot rom just for the challenge I guess, to see how low I go go and still be able to load everything into RAM from the CF card. I managed to get it down to about 200 bytes, which I thought was nice ...
- Tue Mar 28, 2023 6:29 pm
- Forum: Hardware
- Topic: Smallest parallel EPPROM available in 2023
- Replies: 14
- Views: 2374
Smallest parallel EPPROM available in 2023
Hi, I'm looking for a very small parallel EEPROM that is available to buy right now. 256 bytes would be sufficient. Do they exist? i assume they existed in the past, but can they still be found now, and if so where should I start looking? Mouser et all do not have any parallel EEPROMS with a ...
- Tue Mar 28, 2023 4:12 pm
- Forum: Programming
- Topic: on HN: "Explaining my fast 6502 code generator"
- Replies: 7
- Views: 3299
Re: on HN: "Explaining my fast 6502 code generator"
I read that post and wondered if some of the later steps where the generated assembly is refined could be applied to hand-written assembly code. I have not been able to find the source code for the compiler though, and most of the algorithms in the post seem way above my head.
Anyone know if the ...
Anyone know if the ...
- Mon Mar 27, 2023 8:17 pm
- Forum: Hardware
- Topic: Trouble reading from CompactFlash card
- Replies: 12
- Views: 2608
Re: Trouble reading from CompactFlash card
Thank you floobydust for the code listing. it helped me a great deal when trying different things. I still had some trouble getting reliable reads from the CF card, even after trying probably everything that was offered here.
I then realized that plasmo's comment about signal integrity was probably ...
I then realized that plasmo's comment about signal integrity was probably ...
- Sun Mar 12, 2023 5:25 pm
- Forum: Hardware
- Topic: Trouble reading from CompactFlash card
- Replies: 12
- Views: 2608
Re: Trouble reading from CompactFlash card
Final (I hope) update. I finally managed to read random binary data on the CF card by changing my reading code to the code below:
cf_read:
phy
ldy #0
@loop:
lda CF_ADDRESS
sta (io_buffer_ptr), y
iny
bne @loop
inc io_buffer_ptr + 1
jsr cf_wait
@loop2:
lda CF_ADDRESS
sta (io_buffer_ptr), y ...
cf_read:
phy
ldy #0
@loop:
lda CF_ADDRESS
sta (io_buffer_ptr), y
iny
bne @loop
inc io_buffer_ptr + 1
jsr cf_wait
@loop2:
lda CF_ADDRESS
sta (io_buffer_ptr), y ...
- Sun Mar 12, 2023 11:09 am
- Forum: Hardware
- Topic: Trouble reading from CompactFlash card
- Replies: 12
- Views: 2608
Re: Trouble reading from CompactFlash card
So, what I ended up doing was not trying to read a FAT or other filesystem, and instead just use the block storage that Taliforth expects, since this is what I am using on my machine. After a bit a fiddling, it turns out that reading and writing blocks works perfectly fine there. (I also changed the ...