6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 7:43 am

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue Jun 28, 2022 4:28 pm 
Offline

Joined: Sun May 30, 2021 2:16 am
Posts: 375
tmr4 wrote:
I don't recall having problems with ACKs but I might not have gotten as far as you. I realized after a while that the 6502 was doing too much work managing the display and it would be simpler just having the smart display manage it (backspace comes to mind). And if I recall there are some things you just can't do in the Serial Environment (or was that just the Serial Commander App?). It was likely at that point that I changed my approach.


Once the ACK words get out of sync, you crash.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 28, 2022 4:47 pm 
Offline

Joined: Sat Feb 19, 2022 10:14 pm
Posts: 147
Jmstein7 wrote:
Once the ACK words get out of sync, you crash.

I considered using timers and error checking but never got that far:
Code:
;***************************************
; getAck
;
; Get acknowledge byte from 4d systems display
;
;***************************************
getAck:
                pha

                ; *** consider usinig a timer to catch error (TimeLimit4D) ***
               jsr d_read_serial

                cmp #6
                beq @ack1

                ; *** consider error checking ***

@ack1
                pla
                rts

Edit: I'm probably not following your code correctly, but why does your getAck routine check for $15 instead of $06?


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 28, 2022 6:19 pm 
Offline

Joined: Sun May 30, 2021 2:16 am
Posts: 375
$15 is NACK - the error code you need to worry about.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 28, 2022 8:13 pm 
Offline

Joined: Sat Feb 19, 2022 10:14 pm
Posts: 147
Jmstein7 wrote:
$15 is NACK - the error code you need to worry about.

Ah, I never got that far. Sometimes I wish I could simply call those serial functions from the 6502, but that's not possible in the Designer environment.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 28, 2022 9:12 pm 
Offline

Joined: Sun May 30, 2021 2:16 am
Posts: 375
tmr4 wrote:
Jmstein7 wrote:
$15 is NACK - the error code you need to worry about.

Ah, I never got that far. Sometimes I wish I could simply call those serial functions from the 6502, but that's not possible in the Designer environment.


According to SparkFun, the Diable16 is discontinued, but the Picaso isn't? It seems, perhaps, that Picaso is more popular? Diablo16 is clearly the superior chip.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 28, 2022 10:15 pm 
Offline

Joined: Sat Feb 19, 2022 10:14 pm
Posts: 147
Jmstein7 wrote:
According to SparkFun, the Diable16 is discontinued, but the Picaso isn't? It seems, perhaps, that Picaso is more popular? Diablo16 is clearly the superior chip.

Maybe just from their catalog? Plenty of Diablo16 products at 4D Systems. Maybe they're keeping all of the chips for their own products. There are a lot fewer Picaso products there, so maybe more chips available for sale to third parties?


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 28, 2022 11:16 pm 
Offline

Joined: Sun May 30, 2021 2:16 am
Posts: 375
tmr4 wrote:
Jmstein7 wrote:
According to SparkFun, the Diable16 is discontinued, but the Picaso isn't? It seems, perhaps, that Picaso is more popular? Diablo16 is clearly the superior chip.

Maybe just from their catalog? Plenty of Diablo16 products at 4D Systems. Maybe they're keeping all of the chips for their own products. There are a lot fewer Picaso products there, so maybe more chips available for sale to third parties?

I hope so! Maybe it has something to do with the chip shortage?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 62 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: