Jump to content



0

unhappy mode utility?


12 replies to this topic

#1 gtkakega OFFLINE  

gtkakega

    Space Invader

  • 47 posts
  • Location:Canada

Posted Thu May 4, 2006 2:35 PM

Anyone have a small SpartaDOS/MyDOS utility that will turn off happy mode on a Happy 1050 drive?

#2 ijor OFFLINE  

ijor

    Stargunner

  • 1,431 posts

Posted Thu May 11, 2006 10:39 AM

Sorry for being a bit late…

I don’t recall such an utility in file binary form. Most people just use the Happy software. May be there is one, but anyway it is trivial to make it yourself if you want.

Note that there are three different unhappy levels: Slow mode, de-programmed mode (what Happy actually calls Unhappy), Happy-to-1050 ROM "translation".

#3 Almost Rice OFFLINE  

Almost Rice

    Stargunner

  • 1,993 posts
  • Prius rocks
  • Location:Houston

Posted Thu May 11, 2006 10:45 AM

I use the Happy utilities

There is an option to make the drive UnHappy.

#4 ijor OFFLINE  

ijor

    Stargunner

  • 1,431 posts

Posted Thu May 11, 2006 10:54 AM

View PostAlmost Rice, on Thu May 11, 2006 11:45 AM, said:

I use the Happy utilities

There is an option to make the drive UnHappy.

Yes of course, but he wants a file utility, not a boot one (or at least I understand that's what he is looking for).

#5 gtkakega OFFLINE  

gtkakega

    Space Invader

  • 47 posts
  • Location:Canada

Posted Thu May 11, 2006 11:49 AM

View Postijor, on Thu May 11, 2006 10:39 AM, said:

Sorry for being a bit late…

I don’t recall such an utility in file binary form. Most people just use the Happy software. May be there is one, but anyway it is trivial to make it yourself if you want.

Note that there are three different unhappy levels: Slow mode, de-programmed mode (what Happy actually calls Unhappy), Happy-to-1050 ROM "translation".

The reason I'm asking is because my Happy 1050 is giving me errors when I try and write to a disk. Device timeout error I think. Anyways, if I use the Happy software to switch the drive to unhappy mode then the problem does not repeat itself. I can write just fine in sd/dd using unhappy mode. Not sure why. But it's a pain having to load the happy software everytime I want to switch to unhappy mode because the default on the drive is happy mode. Is there an SIO command to switch it to unhappy mode?

#6 ijor OFFLINE  

ijor

    Stargunner

  • 1,431 posts

Posted Thu May 11, 2006 12:08 PM

View Postgtkakega, on Thu May 11, 2006 12:49 PM, said:

The reason I'm asking is because my Happy 1050 is giving me errors when I try and write to a disk...I can write just fine in sd/dd using unhappy mode.

This is probably because you are using high speed I/O (Sparta) combined with unbuffered writes. That combination doesn't work and produces writes erros.

First do the following test to confirm this is the problem: Boot the happy utilities. Turn on fast writes. Boot your normal setup and see if writes now work ok (you should hear that writing now is much faster).

#7 Stephen J. Carden OFFLINE  

Stephen J. Carden

    Chopper Commander

  • 103 posts

Posted Thu Jun 15, 2006 10:41 PM

View Postgtkakega, on Thu May 4, 2006 3:35 PM, said:

Anyone have a small SpartaDOS/MyDOS utility that will turn off happy mode on a Happy 1050 drive?
I have an utility that I wrote that is call "HAPPY.COM" that has all the happy stuff in it.. Fast buffering on and off. it also has a section in it that will reprogram your happy drive to think it is a usdoubler drive and then you can use ultra-speed sector skew.. send me an e-mail and I will send it to you.

"sjcarden@bellsouth.net"

#8 Rybags ONLINE  

Rybags

    Quadrunner

  • 10,323 posts
  • Location:Australia

Posted Thu Jun 15, 2006 10:54 PM

Welcome Steven.

You should do a thread with all those utilities you sent to me. People with hard-drives would just love them.

#9 CharlieChaplin OFFLINE  

CharlieChaplin

    Stargunner

  • 1,293 posts
  • Location:Germany

Posted Sat Jun 17, 2006 5:20 AM

Well,
I have a disk with various programs for the Happy 1050 drive (most of them self-written by Happy drive users)... if interested just e-mail me to: amp at abbuc point de

Besides, I also collected many utilities for other drive upgrades and speeders (like Speedy, US-Doubler, Turbo, XF). If there is a good website to upload them, let me know... -Andreas Magenheimer.

#10 Stephen J. Carden OFFLINE  

Stephen J. Carden

    Chopper Commander

  • 103 posts

Posted Sun Jun 18, 2006 4:36 AM

View PostCharlieChaplin, on Sat Jun 17, 2006 6:20 AM, said:

Well,
I have a disk with various programs for the Happy 1050 drive (most of them self-written by Happy drive users)... if interested just e-mail me to: amp at abbuc point de

Besides, I also collected many utilities for other drive upgrades and speeders (like Speedy, US-Doubler, Turbo, XF). If there is a good website to upload them, let me know... -Andreas Magenheimer.

ok,, be fore doing this make sure you have mac/65 and a basic understanding of machine language. This message is intended to show any one how to write a small program to make the 1050 happy do certaint things.

;
; Code Written By Stephen J. Carden
;e-mail 'sjcarden@bellsouth.net'
;
*=$5000 ; org the program here

start:
lda #$31
sta $0300
lda #$01 ; drive 1 = $01 drive 2= $02 >>>> drive 8 = $08
sta $0301
lda #$48
sta $0302
lda #$00
sta $0306
lda #$00
sta $0303
sta $0304
sta $0305
sta $0307
sta $0308
sta $0309
jmp fastwrite ; can sub to other routines
rts ; exit clean


; this will restore the Happy controler
crestore:
lda #$18
sta $030a
lda #$00
sta $030b
jmp $e459

; if you have a happy controler this will protect drive
cprotect:
lda #$18
sta $030a
lda #$10
sta $030b
jmp $e459

; if you have a happy controler this will unprotect drive
cwrite:
lda #$18
sta $030a
lda #$08
sta $030b
jmp $e459


; this will init the drive
init:
lda #$03
sta $030a
lda #$00
sta $030b
jmp $e459

;
;turns fast write on
fastwrite:
lda #$20
sta $030a
lda #$00
sta $030b
jmp $e459

; make the drive unhappy
unhappy:
lda #$e0
sta $030a
lda #$e0
sta $030b
jmp $e459

#11 ijor OFFLINE  

ijor

    Stargunner

  • 1,431 posts

Posted Mon Jun 19, 2006 10:53 PM

View PostStephen J. Carden, on Sun Jun 18, 2006 5:36 AM, said:

; if you have a happy controler this will protect drive
cprotect:
...
; if you have a happy controler this will unprotect drive
cwrite:
...

Very nice stuff. But please note that these two might not work. It depends on how the controller is jumpered.

#12 Stephen J. Carden OFFLINE  

Stephen J. Carden

    Chopper Commander

  • 103 posts

Posted Mon Jun 19, 2006 11:58 PM

View Postijor, on Mon Jun 19, 2006 11:53 PM, said:

View PostStephen J. Carden, on Sun Jun 18, 2006 5:36 AM, said:

; if you have a happy controler this will protect drive
cprotect:
...
; if you have a happy controler this will unprotect drive
cwrite:
...

Very nice stuff. But please note that these two might not work. It depends on how the controller is jumpered.
they work will all my happy 1050, But I guess there is always a version I do not have.. the happy I use are orginal one's from happy computers. If you are trying to use this code and a remake of a happy board I have no idea if it would completely work. But good info never the less. If you send me an e-mail address I will send you an atr of all the code I have been working on.

e-mail 'sjcarden@bellsouth.net'

Steve

#13 ijor OFFLINE  

ijor

    Stargunner

  • 1,431 posts

Posted Tue Jun 20, 2006 12:24 PM

View PostStephen J. Carden, on Tue Jun 20, 2006 12:58 AM, said:

the happy I use are orginal one's from happy computers. If you are trying to use this code and a remake of a happy board I have no idea if it would completely work

I am talking about original boards from HCI. AFAIK, no Happy clone included the controller circuit. So this is probably not relevant for clones at all.

Quote

they work will all my happy 1050

Yes, and I guess it will work for most people, because it will with the default factory configuration. The default configuration is that software can override the hardware (switch) settings. But there is an alternate configuration of jumpers that will not let the software to override the switch position.

The jumpers are not populated. You must solder (or cut a trace, don't remember). It is all described in the Controller manual.

Edited by ijor, Tue Jun 20, 2006 12:25 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users