flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > Analog Clock Goto page Previous 1, 2 |
Author |
|
m 02 Mar 2007, 04:41
Hi Crukko !
Well ... i guess it can be compiled with Fasm without any problems(?). |
|||
02 Mar 2007, 04:41 |
|
Crukko 02 Mar 2007, 10:07
@m: Your app can be compiled with no problem
I was asking if you and peter are going to re-write interesting part he wrote in C...es: si/cos optimizations and so on... |
|||
02 Mar 2007, 10:07 |
|
UCM 10 Mar 2007, 17:59
This reminds me, I made one a while ago....
It uses GDI+, to implement anti-aliasing.
_________________ This calls for... Ultra CRUNCHY Man! Ta da!! *crunch* |
|||||||||||
10 Mar 2007, 17:59 |
|
white_wight 12 Mar 2007, 02:30
A small cosmetic update
|
|||||||||||
12 Mar 2007, 02:30 |
|
rugxulo 13 Mar 2007, 09:24
The hands definitely need to be different colors (or widths, at least) because it's somewhat hard(er) to read when close together.
|
|||
13 Mar 2007, 09:24 |
|
m 14 Mar 2007, 09:56
Thanks white_wight !
The clock seems better now ! Hey rugxulo ! Code: HH = (R * 3 / 10) MH = (R * 5 / 10) SH = (R * 7 / 10) In the lines above (from code) HH means hour-hand-size and so on ... and 3/10 means 0.3rd of R (which is radius). Just change them to suit your needs. I would personally patch, scratch, fiddle and tweak that stupid analog clock, but ... my system is down for 3-weeks now. It does'nt even power up. It's dead as DEAD ! |
|||
14 Mar 2007, 09:56 |
|
rugxulo 16 Mar 2007, 00:48
m wrote:
Doh! My condolences. Oh well, hopefully you can upgrade to something even better. |
|||
16 Mar 2007, 00:48 |
|
m 22 Mar 2007, 05:34
Thanks for you sensitive remarks !
Can some-one donate me a Pentium ! I'll bear courier charges. |
|||
22 Mar 2007, 05:34 |
|
rugxulo 29 Mar 2007, 01:15
What exactly is wrong, the power won't turn on? (Thunderstorm or power failure recently?) Or there is just no Windows startup? Does it report a HD error? Can you still boot a floppy? Just curious (especially since booting a floppy still lets you play with various OSes: FreeDOS, DexOS, Menuet32, OctaOS).
(BTW, if it makes you feel better: this past week, both my P166's 3.5" floppy drive stopped working plus my old 486's CMOS battery died, and the 486 can't be booted b/c A: was already broken ... so I have to fix both of those, should be simple but unchartered territory for a dummy like me, heh). |
|||
29 Mar 2007, 01:15 |
|
m 29 Mar 2007, 13:11
Yeah rugxulo the PC does not power-up at all ?
Neither the power supply fan moves-a-bit nor the mother-board shows any signs of life. Even the power-and-HDD-leds do not come up. No, there was no bad-weather-caused thunder-storm or thunder-bolts. The system died all-of-a-sudden ! And I can v e r y - w e l l feel your pain-and-anguish at the death of the two PCs. My heart-felt-consolations to you. What'll you do ? Now that both your PCs are dead, will they be thrown into a junk-yard as a useless-pile-of-metal ? Will you buy a brand-new-64-bit PC for you now ? |
|||
29 Mar 2007, 13:11 |
|
rugxulo 31 Mar 2007, 04:46
Well, they aren't quite dead (as yours probably isn't either), just minor problems. I swapped (w/ bro's help) cables for the broken 5.25" A: and the working 3.5" B: on the 486, so now I can at least boot a FreeDOS floppy (HD isn't accessible though, but that's not a big deal, never used it much). The P166 still works (barely), but the 3.5" floppy drive doesn't anymore (guess I used it too much, heh). I just need to buy a new one from wherever and install it.
I'm posting all this from our Dell Dimension 8200 Pentium 4 2.52 Ghz (c. 2002), whose fan recently was making TONS of noise. Cleaning it didn't help, and putting in a new (but non-OEM) fan kept saying, "Press F1 to Continue or F2 for Setup" every frickin' time it started up ... and F1 just silently crashed, so you had to press F2 and then ESC for it to work. I upgraded the BIOS from A05 to A09 (via very minimal FreeDOS bootdisk, took about 5 secs.), and it still didn't stop the error message (although, FYI, the computer still booted / fully worked either way ... just that annoyance was ridiculous). So, finally, this morning, we swapped in an official Dell fan, and it doesn't complain anymore. (And Dell tech. support had said, "You can use any fan", which is technically true but annoying. ) Personally? Yeah, I'd probably get a cheap Turion64 notebook, but everyone keeps telling me, "Don't get HP or Compaq, get a Dell, everything else is crap", which just can't be true (can it?). I've seen wildly different prices too, and I'm a pretty cheap bastard, so that's why I still use a half-dead P166. (Of course, being a huge fan of DOS software doesn't hurt. I enjoy testing floppy OSes [FreeDOS, Minix, OctaOS, Menuet32, DexOS, NetBSD], heh, probably why it broke, too much use!) Sounds like your power supply is on the fritz. I heard once that a blackout can make a PSU go into safety mode or whatever (hence the thunderstorm inquiry), and that it needs to be unplugged from the cpu rear for a few minutes then reinserted to correct itself. Anyways, I wouldn't necessarily throw it out: just get a new PSU (unless you just really want to upgrade, which ain't a horrible idea considering the vast hardware improvements we've seen recently). If possible, I'd keep the working parts (RAM, mouse, video card, etc.) even if upgrading. You never know when they'll come in handy. Also, don't forget eBay! EDIT: Okay, the Dell's problem with F1 is related to the "Ultra IDE BIOS" extension for an external hard drive (at least, I think so, it asks for optional F1 keypress at bootup). And I can access the hard drive on the 486 now (thanks to low-level disk tools which ignore the BIOS, e.g. wde or pfdisk or ide_conf or whatever, I forget exactly), but I have to reset the C/H/S in the BIOS upon every boot ("1001","15","34" ... at least until / unless I replace the CMOS battery, doh). Last edited by rugxulo on 05 Jun 2007, 13:45; edited 1 time in total |
|||
31 Mar 2007, 04:46 |
|
m 01 Apr 2007, 07:57
Wow hoooooo !
Thanks RugXulo ! Quote:
|
|||
01 Apr 2007, 07:57 |
|
m 01 Jul 2007, 10:31
I have downloaded it myself (now).
I will try to convert it into high level (macro based) syntax. _________________ Attitude! |
|||
01 Jul 2007, 10:31 |
|
m 01 Jul 2007, 11:52
On second thought I think I should rewrite it in C++/Java/Python etc.
Any takers _________________ Attitude! |
|||
01 Jul 2007, 11:52 |
|
rugxulo 01 Jul 2007, 23:01
Python, Ruby, and Perl ... all moving towards a virtual machine to interpret byte-code (or whatever). They all want to be like Java, for some reason. Why, weren't they good enough? (Guess not because they're all gonna be incompatible with old code, big time.)
|
|||
01 Jul 2007, 23:01 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.