Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "wolfgang kern" <nowhere@never.at> |
|---|---|
| Newsgroups | alt.lang.asm, comp.lang.c, comp.lang.c++ |
| Subject | Re: what is brainfuck?[the time library] |
| Date | 2011-04-10 09:32 +0200 |
| Organization | KESYS-development |
| Message-ID | <inrmji$a84$1@newsreader2.utanet.at> (permalink) |
| References | (1 earlier) <4d6e5f04$0$1361$4fafbaef@reader1.news.tin.it> <4d9f15f4$0$18250$4fafbaef@reader2.news.tin.it> <4d9f1663$0$18247$4fafbaef@reader2.news.tin.it> <inp3ql$9gv$1@newsreader2.utanet.at> <4da094ca$0$18242$4fafbaef@reader2.news.tin.it> |
Cross-posted to 3 groups.
"io_x" wrote: >>> someone see this post? >> Yeah, I can see your posts in ALA, even I'm not >> always sure what you mean :) >> But I don't read C-groups. > i mean the .dll posted with the file that is not C, > but the output of one version of RosAsm + the macro > language i use [macro2d] > don't know if you consider it assembly; sure it is not > C or C++ or whatherver other know language. > the C++ code is just for debug, if i would like > to use the functions in that way possibly, > on error, i would zero all the date result > even if from that could follow very long loops... > in that .dll if somoene open it with RosAsm > there is something begin with > PREPARSE MACRO2D > %define GetLocalTime 'kernel32.GetLocalTime' > %define GetTimeZoneInformation 'kernel32.GetTimeZoneInformation' > section data > hInstance dd 0, 0 I use RosAsm sometimes rare, but I never use Macros. [...] > mesiIta dd mes0, mes1, mes2, mes3, mes4, mes5, mes6, mes7, mes8, mes9, ... Just to keep everthing smaller, faster and a bit smarter, I made my date/time data formats not that flexible as you do, so I contentate similar strings on the fly: MOV eax,"0day" ;mov eax,79616430h ... ;ie: [nr] = 06h OR al,[nr] ;eax = "6day" ... ROR eax,8 ;eax = "day6" [...] > the only dipendence by os are the functions > 'kernel32.GetLocalTime' > 'kernel32.GetTimeZoneInformation' > for get the local time and the time difference in minutes from > Greeniech [but possibily i not understat that, for example here > in this post will appear Date: Sat, 9 Apr 2011 00:33:44 +0200 > but the difference in minutes is -60 minutes so > +0200 what does it mean?] This +0200 are the US-military way to tell: "two hours more" :) I live in Vienna and my OS reports GMT+01:00 (West European Summer). Italy got GMT+02:00 ? perhaps you didn't activate summertime ? __ wolfgang
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: what is brainfuck?[the time library] "io_x" <a@b.c.invalid> - 2011-04-08 16:07 +0200
Re: what is brainfuck?[the time library] Branimir Maksimovic <bmaxa@hotmail.com> - 2011-04-08 21:38 +0200
Re: what is brainfuck?[the time library] "io_x" <a@b.c.invalid> - 2011-04-09 00:33 +0200
Re: what is brainfuck?[the time library] "wolfgang kern" <nowhere@never.at> - 2011-04-09 09:28 +0200
Re: what is brainfuck?[the time library] "io_x" <a@b.c.invalid> - 2011-04-09 19:18 +0200
Re: what is brainfuck?[the time library] "wolfgang kern" <nowhere@never.at> - 2011-04-10 09:32 +0200
Re: what is brainfuck?[the time library] "wolfgang kern" <nowhere@never.at> - 2011-04-10 09:44 +0200
[OT} Re: what is brainfuck?[the time library] Paavo Helde <myfirstname@osa.pri.ee> - 2011-04-10 04:41 -0500
Re: [OT} Re: what is brainfuck?[the time library] "wolfgang kern" <nowhere@never.at> - 2011-04-11 00:24 +0200
Re: what is brainfuck?[the time library] Michael Press <rubrum@pacbell.net> - 2011-04-13 14:25 -0700
Re: what is?[the time library] Ian Collins <ian-news@hotmail.com> - 2011-04-14 09:44 +1200
Re: what is?[the time library] Michael Press <rubrum@pacbell.net> - 2011-04-13 15:08 -0700
Re: what is brainfuck?[the time library] Robert Miles <robertmilesxyz@gmail.com> - 2011-04-24 22:57 -0700
csiph-web