Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - alberthrocks

Pages: 1 ... 45 46 [47] 48 49 ... 55
691
[OTcalc] Z80-Hardware / Re: [OTZ80] [Poll] Mini USB or regular USB?
« on: August 23, 2010, 03:13:00 am »
MicroUSB, eh? So tiny... :P

Depends though. I still see quite a bit of MiniUSB plugs on the market. ;)

692
[OTcalc] ARM-Hardware / Re: Hardware Discussion
« on: August 23, 2010, 02:55:55 am »
I'm thinking something on the lines of what Apple does, except with more information than just a pic :P

693
[OTcalc] ARM-Hardware / Re: Hardware Discussion
« on: August 23, 2010, 02:43:39 am »
lol :) I think a box would be nice, as long as it's informational and pretty ;)

694
[OTcalc] Z80-Hardware / Re: [OTZ80] [Poll] Mini USB or regular USB?
« on: August 23, 2010, 02:19:14 am »
Mini USB should live for a while, no worries. :) Cameras and many other USB devices use it still.

695
[OTcalc] ARM-Software / Re: OTARM Firmware Discussion
« on: August 22, 2010, 08:47:45 pm »
Wow, another exploding topic! ;)

Anyway, let me address some of the things here.
OS: OS will be Linux, unless graphmastur (and any others) figure out how to write an ARM OS from scratch.

Math core: XCAS, might mix it with some other fun math cores like Scilab, Octane, etc. Of course, you won't see these in their pure form (even XCAS is mostly in French) - these will be hidden by a intuitive, useful, and pretty GUI.

Programming Language: XCAS as a math language, Python, Basic. We could write our own covering those if you want to.

GUI: Simple, something that both teachers and students can understand. We'll hide the terminal and the root filesystem, and only offer it with a special option change and/or dotfiles to activate them (the dotfiles names will be public, but only someone who really knows how to create them will know how to unlock the terminal/root filesystem access)

Toolkit: We're using something that can be easily used by all and/or customized. That said, we can use QT or GTK+.

Filesystem: ext3 or ext4, no exceptions. A Linux system does NOT run on FAT. I'm hesitant to use ext4, since it's kind of known to have data loss if you shut off the computer (in this case, calc) unexpectedly. All filesystems are like that, but ext4 has a very severe issue with it that's enough to prompt people to stay on ext3.

A separate partition will be with FAT32 though, and will hold any user data there. The only partition that will be exposed will be the FAT one. Remember, we do have control over what goes out and what goes in - this isn't a flash drive/SD card, where all the partitions are exposed.

GNU Utilities: Busybox or regular utilities? It all depends. Will we be using the full set of GNU's utilities, or just for simple stuff/normal terminal use? If we're not using it much, Busybox is a good idea for its minimal size. If we do use it a LOT, regular GNU utilities are better. However, certain tools (ps, top, etc.) could be from the full versions. (procps for ps and top)

With that said, let me go and reply to all the other people:
======================================================

If you want to be able to read/write to the OTARM filesystem, FAT32 is probably the best choice, unless you use some kind of client software to manage file transfer (not recommended).
Depending on the speed of the ARM processor and some other hardware choices, we can also use a custom build of Android (like what they've done for BeagleBoard). This would do two things:
1) Allow for the familiar Android interface with the ability to customize
2) Allow us to hopefully make apps compatible with Android, allowing us to sell it for project funding + compatibility with other Android apps

I probably missed something there, but who knows.
No Android. This is a calc, not a phone/MP3 player. Don't let yourself get too carried away.
Also, it's pretty limited on drawing (uses the framebuffer instead of X, no 2D/3D support).
And we're not looking for Android apps to put on this. (Google only allows an App Market for phones)
Besides, there's a nasty lawsuit going on with Oracle and Google with the Dalvik Java engine, and we don't want to be caught in the fray.

If we use Linux, we should maybe include a software (or use a distro) that is kinda user-friendly, though. If everything working through command console with no menus to access your everyday feature is too hard for some people, they'll give a bad review of the product, saying it's not user-friendly like the 83+, for example. At the same time, too many menus and complex GUI can make things hard to use, too. I personally found the TI-89 Titanium and TI-Nspire a bit too hard to use, one of the reason why I hardly code on them.

Definitely. I want the teachers, not just the students, to actually enjoy using OTARM. I've heard some people here say that their teachers HATE the Nspire. (And the only ones who like it.... well, they are defending a useless product which they bought into and now have to defend themselves)

OTARM will also require a fail-safe bootloader for in case a user manages to break their calc, which is entirely possible with root privileges.
The main filesystem should be FAT, FAT32, or ext2, I believe. Assuming that we're going to use flash memory, ext3/ext4 will wear out the flash much faster because of the journaling. SD cards need to use FAT/FAT32 simply because of Windows.

Bootloaders, eh? It depends on the manufacturer. Quick explanation here: ARM doesn't produce the CPUs, they sell the cores and designs, and then from there, the chip manufacturer who licensed the core design can look at the specs, blueprints, etc., then design, test, and build a ARM chip.

With that in mind, some manufacturers (like one company calc84 mentioned on IRC) do have a bootloader already inside the chip.... but without a "special" key. (I skimmed through the docs for that CPU, so I might be wrong.) My idea is to use GRUB, modified to have key combinations for recovery and to not overwrite the screen. Maybe we could use the hardware booter as well, if it's possible to modify it.

No FAT - it's impossible to run a Linux system with FAT. ext2? Maybe. And you can disable journaling on ext3/ext4.

I think that the firmware should boot straight into a menu that has math related links all over the place.  We don't want to dump them in a desktop, and have them freak out when they were expecting a calculator.  User friendly is the key, and calculators have lots of users.
And we should start from the kernel, in my opinion, not from an OS.  Computer OSes are not suitable for calculators, and we should not be porting one.  Calculator users don't need a desktop, or multiple, but should still be able to reach cool linux programs outside the realm of normal math usage.
Agreed - I actually had a mockup of that idea:



I'm also confused - are you saying we should write a new OS, or that we should start at the kernel config, build up all the core stuff, and then build up the GUI? If the former, you should team up with graphmastur for the ARM kernel writing... after you finish the [e]Z80 one, that is! ;) If the latter, we will. And we aren't porting any OS in general - we're taking the basic, core part, and then building on top of it. ;)

It would be nice if we gave the user the option to choose a program or application to run on startup. Example, someone who use his calc for regular math calculations a  lot may want the calc to turn ON directly on the home screen.

The TI-89 lets you do that and I myself always have it turn ON on the home screen instead of the desktop thing

Yes, that's a good idea. Probably a quick sleep/hibernation will do. Special key combos will help in this case.

Well, maybe a key combo to sleep it from anywhere?  Like KnightOS will probably have Alpha+ON to sleep and pick up where you were.

Something like that is planned, yes.

OTARM will also require a fail-safe bootloader for in case a user manages to break their calc, which is entirely possible with root privileges.
The main filesystem should be FAT, FAT32, or ext2, I believe. Assuming that we're going to use flash memory, ext3/ext4 will wear out the flash much faster because of the journaling. SD cards need to use FAT/FAT32 simply because of Windows.

Journaling can be disabled on ext3/ext4 iirc, also would be good to have the 'noatime' option when it's mounted so it doesn't constantly write access times to the metadata if you go with these filesystems.

Yes, that's definitely the options we need. It'll prevent the wearing out of the flash.

Well, maybe a key combo to sleep it from anywhere?  Like KnightOS will probably have Alpha+ON to sleep and pick up where you were.
nice idea as long as the calc won't mem clear if a battery is pulled in this mode and that battery energy isn't drained considerably faster in this mode than if it was turned off normally.

Mem clear? Probably not. But it might take a little more energy to boot up.
Unfortunately, ext* will require the PC that you hook to to support ext* which is not an easy filesystem for windows. There is an ext2/3 reader for windows, but ext4 is incompatible

Fat32 would be much easier, as it has much broader support. Ext3/4 might work for a main File System, if we don't plan on doing direct linking (just through SD swapping instead)

I think, Desktop-wise, we should have the calculator by default run a math desktop (very simple, nothing fancy) and for users who want a real desktop, offer support and give an easy package to install, say, xfce or some other lightweight desktop. KDE and Gnome will probably be too much for the OTArm. We should still have terminal access, even if it is rather buried.

Don't give root access easily! make it so the average user can do what they want, while making the root password only really available to those who know what they are doing. People who don't know what root means shouldn't notice that it is required for anything either.

On a side note, OmniTech is a brand name for flash drives. I saw some at staples. :P Also, 3 other companies show up on google. Maybe we could change it to something more unique, or maybe leave it at omnimaga Calculators!
You've kinda got my idea - ext3/4 for main file system, FAT on another partition for access.
No crazy desktop - we'll design our own.
Terminal and root access IS buried, but can be activated via option/dotfile.

And for the brand.... I don't know. We can't really just change it to Omnimaga, since Cemetech is helping us with their expertise.

OTARM will also require a fail-safe bootloader for in case a user manages to break their calc, which is entirely possible with root privileges.
The main filesystem should be FAT, FAT32, or ext2, I believe. Assuming that we're going to use flash memory, ext3/ext4 will wear out the flash much faster because of the journaling. SD cards need to use FAT/FAT32 simply because of Windows.
The bootloader should be read-only, like the Nspire's boot1. This provably prevents a total bricking.
I think that the firmware should boot straight into a menu that has math related links all over the place.  We don't want to dump them in a desktop, and have them freak out when they were expecting a calculator.  User friendly is the key, and calculators have lots of users.
And we should start from the kernel, in my opinion, not from an OS.  Computer OSes are not suitable for calculators, and we should not be porting one.  Calculator users don't need a desktop, or multiple, but should still be able to reach cool linux programs outside the realm of normal math usage.
We can port a Linux distro like Debian without dragging in all of the desktop stuff; basically, a kernel + a package management system.
The hardware bootloader requires a special flash (UART, JTAG, or something of the sort), and the software bootloader will also be able to help too (GRUB2 modified)
And you're right with the minimal distro part. Angstrom Linux perhaps? (It's popular on mobile devices, I think)

If we use a read-only bootloader, then I think the prototype OTARM calculators should use EEPROM or some kind of rewritable memory. It would suck to have to create a new prototype for each revision of software.

I believe the point of making an OTcalc was to provide a competitive alternative to TI's calculators and to allow the user to tinker around (unlike the Nspire). Something like superuser privileges being disabled by default would work, and you would need to "root" the calculator in order to use root access (similar to Android, but less cumbersome).

The memory IS rewritable (unless we use a permanent bootloader), but it requires some special command/flashing to rewrite it.
It is available for development WITHOUT rooting and the such. Root and terminal access will have an option/dotfile to activate it.

696
[OTcalc] Z80-Hardware / Re: [OTZ80] [Poll] Mini USB or regular USB?
« on: August 22, 2010, 10:07:09 am »
Mini USB, afaik, is NOT deprecated. Maybe the standards say so, but pretty much all of the new cameras use that, plus some other USB peripherals.

697
Computer Programming / Re: x86 Assembly help needed
« on: August 19, 2010, 04:27:42 pm »
This looks more or less like Windows assembly than true x86 assembly.
Windows assembly is just accessing the Windows functions via assembly. Quite a few demoscenes and such use this for the nice speed.
x86 assembly, on the other hand, has direct access to hardware.

This to me doesn't look like working bootloader code.
True x86 assembly isn't that simple. You need to set up lots of stuff: IRQs, ACPI, HDD access, protected mode, etc.
And you need code to read NTFS, which this thing doesn't look like.

My suggestion: don't try to write a bootloader unless you really know what you are doing.
If you are writing a bootloader:
  - Borrow code from others! GRUB is a FOSS bootloader. It can chainload to other bootloaders, which is something you want to do.
    It might recognize NTFS as well, but I'm not sure.
    Heck, you could even just write a GRUB conf file that deletes the file for you, and then chainloads! ;) (Not sure if it's possible tho)
If you don't want to go insane from x86 assembly:
  - Use Linux/DOS to remove the file(s). DOS can possibly chainload, but not Linux. (You need to reboot into Windows) DOS is harder to
    implement, Linux is easier. FreeDOS is a good starting point if you use DOS. Barebones Ubuntu (or others) is a good place to start if
    you use Linux.

698
[OTcalc] Z80-Hardware / Re: [OTZ80] [Poll] 2.5 mm or 3.5mm Link Cable?
« on: August 19, 2010, 01:58:53 am »
True, but you still need an adapter :) Updated post, thanks! :D

699
[OTcalc] Z80-Hardware / [OTZ80] [Poll] What kind of battery do you want?
« on: August 19, 2010, 01:56:39 am »
As the title says: What kind of battery do you want? :)
Keep in mind about usability, availability of batteries, power consumption, etc. before voting! :D

Happy voting! :)

700
As the title says: Do you want an ABCDE keyboard on the calc (somewhere, likely bottom), or just a regular Alpha lock?

Consider how your daily usage may be affected, selling point, familiarity, and rules and regulations for tests.
Happy voting! :)

701
[OTcalc] Z80-Hardware / [OTZ80] [Poll] Have a SD card slot in the calc?
« on: August 19, 2010, 01:25:35 am »
As the title says: Should we have a SD card slot for the calc?
Consider the uses for it, as well as prices and such, then vote.

Happy voting! :)

702
[OTcalc] Z80-Hardware / [OTZ80] [Poll] 2.5 mm or 3.5mm Link Cable?
« on: August 19, 2010, 01:23:04 am »
As the title says, vote on either having a 2.5 mm or 3.5 mm link cable! :)

Consider the options carefully.
2.5 mm = good old cable, also very small, TI-8x compatible, needs adapters for sound
3.5 mm = good cable, not TI-8x compatible, can have headphones = sound

Happy voting! :)

703
[OTcalc] Z80-Hardware / [OTZ80] [Poll] Mini USB or regular USB?
« on: August 19, 2010, 01:19:56 am »
As the title says: Mini USB or regular USB?

Vote in the above poll. :)

704
[OTcalc] Z80-Hardware / Re: eZ80 Hardware Discussion
« on: August 18, 2010, 12:17:18 am »
For the battery light thing, I was thinking about a red/green LED that can change colors, and if possible, shine both at once to make yellow. It would be under the power button perhaps?

And as for sound... probably not. :( It may cost more, and we really don't want people to think that this calc is an MP3 (although it CAN be with programs and such). We will definitely NOT limit the I/O port for sure.

Polls will be set up shortly (tonight or tomorrow). Stay tuned! :D

705
Computer Programming / Re: Python help
« on: August 17, 2010, 02:34:45 pm »
Hey there! I'm a Python dev, so I might be able to help.
Never heard of Ren'py before, but it looks really awesome :D (assuming this is it: http://www.renpy.org/wiki/renpy/Home_Page)

AFAIK, there's 2 levels of programming: regular, story telling levels, and then the actual Python programming.
If you are doing Python, you need to import the library.
Then assign keys to certain functions and such :)

Of course, this is just speculation. I need to know what you are trying to do first, then
we can approach the problem. :)

Pages: 1 ... 45 46 [47] 48 49 ... 55