Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
56 user(s) are online (47 user(s) are browsing Forums)

Members: 0
Guests: 56

more...

Support us!

Headlines

Forum Index


Board index » All Posts (TetiSoft)




Re: Keymap question
Just popping in
Just popping in


@Jack

Quote:

What's the meaning of two selected languages in locale prefs?

Already answered in this thread, just wated to add an
"RTFM Locale prefs editor speedhints" comment
Quote:

Can two languages be switched on the fly? How?

Most OS4 prefs editors have a "Save As..." menu entry
and a "Create icons" menu entry. The saved prefs files
can be doubleclicked. You can "Leave out" and "Snapshot"
the files in Workbench. So its easy to create an "English"
and a "Hebrew" icon in the WB window/screen which switch
the current system default language and charset on the fly.

Go to top


Re: Keymap question
Just popping in
Just popping in


@Jack

Quote:

there was a hack that could insert "left" into input stream
after each keypress, will dig it out and see if it is
compatible with OS4. Is there a way to do such a "hack"
natively? In a system-friendly way?

The most system-friendly wy is to add the Unicode bidirectional
writing algorithm to OS4.

Another solution is to use editors and word processors
which know that hebrew is written from right to left.

A hack which inserts cursor movements after hebrew keystrokes
is only a hack. The result would be that the text is stored
in reverse order when saving it. Such a text would be unusable
on another machine which would reverse the text for display
only, but not in memory or in the text file.

The hebrew support in OS4 is "experimental", I stated
that in the unpublished releasenotes. Its just the basic
support to allow writing applications which support
the right-to-left writing direction. The Locale prefs
editor writes arabic and hebrew country names right-aligned
from right to left, but thats IIRC the only component which
has some limited support for writing right to left...

Go to top


Re: Keymap question
Just popping in
Just popping in


@Jack

Experimenting with hebrew?
The usa_il_ISO-8859-8 keymap has hebrew characters
on the Alt key combinations. However, keymap.library
will refuse to accept hebrew characters when the
destination charset for the keymap does not contain
hebrew characters.

You either need to use an application which tells
keymap.library that the keymap shall be used for
a hebrew charset and not the current system default
charset, or you have to switch the current system
default charset to ISO-8859-8 (hebrew) by selecting
hebrew as first preferred lannguage in the Locale
prefs editor.

Oh, and you need to use fonts which contain hebrew glyphs
of course. E.g. Fixed or DejaVu, but e.g. not BitStream
Vera.

Edit: The example with the Q key should of course work
without any charset problems. When it doesnt, maybe
your keyboard is broken or has problems with the AOne,
try a different keyboard...

Go to top


Re: input issue
Just popping in
Just popping in


@Jack

With the real Amiga keyboard I'm using right now no such
problems appear. Are we talking about a real Amiga keyboard
attached to a CatWeazle Mk3, about a PS/2 keyboard or about
an USB keyboard, any KVM switch involved?

PC keyboards do repeat keys themself what Amiga keyboards
dont do, so the PC keyboard drivers have to ignore the
repeat keys from the keyboard but generate their own
repeat keys at a frequency defined in the Input prefs editor.

Using key repeat delay of 0.6 seconds and key repeat speed
of 0.05 seconds right now which matches the default values.

Go to top


Re: 32-letter volume name and asl requesters
Just popping in
Just popping in


@Jack

Quote:

Does that mean the limit is raised changed but only available to developers atm?

That would be an alpha test. No, its in beta test :)
Just tested it with a 100 character RAM disk volume name,
seems to work.

Go to top


Re: 32-letter volume name and asl requesters
Just popping in
Just popping in


@Jack

Quote:

Is it going to change? (the limit)

Colin changed it from 31 to 107.

Go to top


Re: 32-letter volume name and asl requesters
Just popping in
Just popping in


@Jack

Its a hardcoded limit in dos.library:
#define MAX_DEVICENAME_LEN 31

You cant relabel FFS volumes to a too long name,
but you can relabel RAM: to a too long name,
then e.g.

Relabel RAM: 12345678901234567890123456789012
CD 12345678901234567890123456789012:

will fail.

Go to top


Re: usb storage question
Just popping in
Just popping in


@abalaban

This behaviour is not known yet, and unfortunately I dont
have reliable USB hardware which would allow trying to
reproduce it. Which filesystem was used?

Go to top


Re: Newbie A1XE & OS4 user
Just popping in
Just popping in


@quenthal

Quote:

when I try to open 'USB' from Prefs, I get Guru Mediation/Grim Reaper. No USB devices are connected. This probably is not normal?

Its a bug in Prefs/USB, the fixed version was not distributed yet.
Prefs/USB is just a GUI for editing the files in
the ENVARC:usb/system/ directory, you can use a text editor instead.

Go to top


Re: usb storage question
Just popping in
Just popping in


@Jack

Quote:

What is XFSD?

10.OS4:> version l:xfsd full
xfsd 2.17
(xfsd 2.17 (c) Jul 98 frans)

Search on Aminet for "XFS".
I have a partition left on my harddrive, back from the
old days, which contains some FAT partitions with a Win95
installation. I vaguely remember that it was tricky to
create the mountlists years ago because xfsd does not
understand MBR, the LowCyl values had to point to the
sector with the FAT bootcode. And the partition had to
be inside the 4GB limit. XFSD still works with OS4 here
and supports long file names. My mountlist for "PCD":

Quote:

/* IBMIDEDOS D: per XFS */
FileSystem = L:xfsd
Flags = 0
Device = scsi.device
Unit = 0
Surfaces = 1
BlocksPerTrack = 1
SectorSize = 512
LowCyl = 3186266 /* PCC mounten, genml, (highcyl-lowcyl+1)*surfaces*blockspertrack+lowcylPCC*/
HighCyl = 3590565 /* PCE -1 */
Reserved = 0
PreAlloc = 0
Interleave = 0
Buffers = 50
BufMemType = 0
StackSize = 16000
Priority = 10
GlobVec = -1
MaxTransfer = 0xFFFFFF
Mask = 0x7FFFFFFF
DosType = 0x58465344 /* 'XFSD' */
#

Go to top


Re: usb storage question
Just popping in
Just popping in


@Jack

Quote:

Just tried the 108, and it didn't work.

IMHO changing LowCyl will have zero effect with
CrossDOSFileSystem. With FAT95 or XFSD it should have an effect.

Quote:

BTW: mediatoolbox reports these physical values:
8000 cylinders, 16, sectors, 4 heads
And logical size:
64 blocks per cylinder
8000 cylinders...

The physical values from MTB are recomputed for backwards
compatibility. No serious filesystem uses them since years.
The "physical" values reported by usbdisk.device are
one head, one track per cylinder, one block per track,
512 bytes per block, and as much cylinders as blocks.
And these are not based on the "physical" values reported
by the USB medium, they are based on the reported logical
number of blocks only. There also exists a blocksize check,
FAT is only accepted with 512 bytes per block, HFS/ISO9660/
FFS/SFS etc is also accepted with other blocksizes.

Go to top


Re: usb storage question
Just popping in
Just popping in


@Jack

Quote:

Ok, the swimp3 is actually with MBR, fat16, linux reports:
16 heads 56 sectors/track, 571 cylinders
first partition is fat16,
there's also a warning about different physical/logical beginnings/endings:
physical: 0,1,44, logical: 0,1,52
physical: 755,15,0 logical: 571,6,48

I assume that dostype should be 0x46415400. Or 16 instead of 00?

A "FAT" DosType is no standard AFAIK. CrossDOSFileSystem
may work with it but the PC0 mountlist uses 0x4D534400
("MSD") and massstorage.usbfd uses "FAT2" 0x46415432 which
ensures that formatting is tried in FAT32 mode first.

Quote:

Should I follow physical or logical mapping?

massstorage.usbfd happily ignores physical track/head/sector
values because those are outdated since many years.
I dont know if CrossDOSFileSystem uses physical or
logical values, eventually it even contains a check
that both must match somehow and refuses to work with
this broken MBR while Linux contains some magic code
which selects the most reasonable alternative?

Quote:

Should the "Interleave" match the highest cylinder?

As already written CrossDOSFileSystem modifies it anyway.
massstorage.usbfd does not specify Interleave at all and
a standard AmigaOS filesystem ignores this.

Quote:

Need an advice on the arithmetics...

For a "normal" Amiga filesystem only LowCyl and HighCyl
are important, and when LowCyl is 0 then HighCyl is ignored
and the whole medium is used. For CrossDOSFileSystem
AFAIK _both_ LowCyl and HighCyl are completely ignored,
it always uses the complete medium when the device name
doesnt end with a letter from C to Z, when it ends with
"C" it uses the first MBR partition etc.

In your example with 56 sectors/track and "logical: 0,1,52"
I'd calculate the start of the first partition to be at
sector 0 head 1 track 52 = 1*56+52=108. The mountlist
as modified by CrossDOS says LowCyl 107, not 108, strange...

When the player doesnt contain important data and has
an option to format the medium in case he cant understand it,
I'd simply try to partition and format the medium from some
OS which knows how to create a valid MBR, e.g. Linux or Windows,
and not the builtin player firmware...

Quote:

Also tried to generate mountinfo for usb0c: in ffs mode, but when MBR is shown, can't switch the fs type.

The massstorage commodity doesnt allow you to try to switch
the filesystem of a partition on an MBR-partitioned medium
to something which is not FAT. It would not work. FFS only
works with RDB-partitioned media or with flat media.
You are only allowed to switch to FFS after selecting the
MBR entry, which implies that the MBR would be destroyed
after formatting with FFS and that you are aware of that.

Quote:

The other player (iriver t10) doesn't show up in the commodity, althought an attachment window pops up

USBInspector and T:USB.log may help to find out whats wrong here.

Go to top


Re: usb storage question
Just popping in
Just popping in


@Jack

Quote:

Linux can access it (the whole disk as a block device using
FAT instead of accessing block device that represents a
single partition).

Thanks for the info. Then CrossDOSFileSystem _should_ be
able to access it too...

Quote:

Can I tell OS4 to mount the whole device? (like one can mount trackdisk.device, with propper block/whatever sizes/numbers, like telling Linux to mount /dev/sdb instead of /dev/sdb1).
Will experiment with it when I'll have a chunk of time...

Yes, when the filesystem selector in the massstorage commodity
is set to "FAT" (or "Default"), the complete medium is
mounted as-is, with LowCyl 0.

Quote:

Imho MBR-less usb storage is common enough to be
implemented "out of the box" in OS4 (as far as I know lot
of flash-based mp3 players are MBR-less).

AFAIK this works with at least some mediums...

You can experiment with mountlists, different filesystems
etc. When e.g. the commodity shows "USB0" as device,
"MountInfo USB0:" will create a mountlist for the
complete medium, when its "USB1C" then "MountInfo USB1C"
will create a mounlist for the first partition of a
MBR-partitioned medium etc. Caution: CrossDOSFileSystem
actively modifies the LowCyl, HighCyl and Interleave values,
so those may _not_ match the real values which were used
by massstorage.usbfd for mounting, to be sure to get better
values, set the filesystem selector to FFS or SFS first
(dont format of course) and change the DOSType.

When you have mountlists, you can try to use them with different
versions of CrossDOSFileSystem, FAT95 or XFSD. You can also
try to use MountDOS from Aminet when the medium is smaller
than 2 or 4 GB (MountDOS doesnt support NSD...) to get
mountlists.

Hope it helps...

Go to top


Re: usb storage question
Just popping in
Just popping in


@Jack

Quote:

2. Usually a mp3 player, has "no partition", under Linux seen as /dev/sd(something).
How do I mount the later under AOS4? Nothing interesting in t:usb.log
...
swimp3 appeared there but as "unitialized", regardless it's set to "auto" (usb1c:) or "fat" (usb2:) filesystem (it is initialized btw, and contains data).
Size is correct.

Ok, now we know that neither Linux nor OS4 do believe that
the medium contains a valid MBR, and we know that
CrossDOSFileSystem also believes that the medium is not
an unpartitioned FAT12/FAT16/FAT32 medium. Does Linux
believe its using FAT? If yes, which blocksize? If no,
why should OS4 be able to handle such a proprietary file
system?

Go to top


Re: HELP problems booting OS 4.0 Final
Just popping in
Just popping in


@MamePPCA1

Quote:

I can boot without starup sequence but no whit it.

Ask me what is needed

Boot without S-S, then type "CD" (without quotes) and
press Return. You will get the info about the current
directory. When this is not the bootable partition
where you installed the OS4Final Workbench files,
you tried to mix kickstart and WB versions which dont
match, adjusting the boot priorities with Media Toolbox
should fix it.

When its the right directory, type "Set Echo ON" (without
quotes), press Return, type "Execute S/Startup-Sequence"
(without quotes), press Return, watch what happens and
report where it hangs. You can also use "Set Interactive ON"
as first command when you want to be asked for confirmation
of each command before it is executed, then you can even
skip commands when you know in advance they wont work.

Go to top


Re: HELP problems booting OS 4.0 Final
Just popping in
Just popping in


@MamePPCA1

No details, no help. What did you do exactly and what
exactly does not work? Can you boot without S-S?

Go to top


Re: Font install by installer/script
Just popping in
Just popping in


@lazi

Quote:

It is intended to be a fixed width font and autohint ruin this.

Ah, ok.
Quote:

So if the install script copies the #?.ttf, #?.font and #?.otag files for the font it is installed correctly?

Yes. You can install to a part of the global FONTS: multi-assign
or you can install to PROGDIR:Fonts/ and open the fonts with this
full qualified path name.

Go to top


Re: usb storage question
Just popping in
Just popping in


@Jack

Quote:

Quote:

MassStorage commodity which shows media

Can't find it here (used "find" - no avail. )

Then read again what I wrote:
Quote:

when Utilities/USBInspector shows
a massstorage medium with a loaded driver its very likely
that typing Ctrl-Alt-M or using Commodities Exchange will
bring up the MassStorage commodity

When USBInspector doesnt show a massstorage device
have a look at T:USB.log. When this doesnt show the
attempt to use a massstorage device, enable Info logging
with Prefs/USB. When this crashes edit ENVRC:USB/System/LOGINFO
by hand (set to 1). When your A1 has no USB fix, the
behaviour when attching an USB device is undefined.

Go to top


Re: How to "park" my HD ?
Just popping in
Just popping in


@Ricossa

IIRC there exist tools on Aminet. You can also use IDETool
to spin down drive (immediately, not after inactivity).
However its IMHO not recommended to force a drive to
spin down, it will decrease its lifetime. Just use a
typical 2.5" IDE drive which was eplicitly designed and
manufactured for notebooks, most of them do spin down
automatically after a given period of inactivity.

Go to top


Re: usb storage question
Just popping in
Just popping in


@Jack

The Mounter is for every removable partitioned storage
medium (SCSI, IDE, SATA etc) except for USB. The mounter
for partitioned and unpartitioned USB media is
usbmassstorage.usbfd, when Utilities/USBInspector shows
a massstorage medium with a loaded driver its very likely
that typing Ctrl-Alt-M or using Commodities Exchange will
bring up the MassStorage commodity which shows media,
partitions and filesystem types and offers formatting.
What does it display for the drive in question?

Go to top



TopTop
« 1 2 (3) 4 5 6 ... 8 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project