Search found 64 matches

by Count
Fri Jun 19, 2020 11:44 am
Forum: Demos - General
Topic: Donations
Replies: 75
Views: 1734310

Re: Donations

I couldn't resist to add some beer tokens, too. :cheers:
by Count
Wed Jun 17, 2020 8:11 am
Forum: Website Discussions
Topic: like driving on wrong side of the road
Replies: 4
Views: 222

Re: like driving on wrong side of the road

Maybe the new server is located in the UK. :mrgreen:
by Count
Sun May 03, 2020 2:39 pm
Forum: C / PASCAL etc.
Topic: Software reset in C
Replies: 16
Views: 701

Re: Software reset in C

We're talking about Single TOS only and, of course, such a situation should never occur. ;)
by Count
Sun May 03, 2020 12:12 pm
Forum: C / PASCAL etc.
Topic: Software reset in C
Replies: 16
Views: 701

Re: Software reset in C

Out of curiosity, what kind of fatal error is this supposed to handle? Ever heard of the HCF mnemonic? https://en.wikipedia.org/wiki/Halt_and_Catch_Fire_(computing) :mrgreen: No, the HCF command will still burn the whole machine down. :mrgreen: A fatal error in this case is when the application run...
by Count
Sat May 02, 2020 6:32 pm
Forum: C / PASCAL etc.
Topic: Software reset in C
Replies: 16
Views: 701

Re: Software reset in C

Errr, this seems to be a Steem issue. The reset routine works perfectly with ARAnyM and on a real Mega STE, but fails to load the AUTO folder programs in Steem. I should have tested that before wasting your time. :?

But thank you for the hint with resvalid. ;)
by Count
Sat May 02, 2020 3:47 pm
Forum: C / PASCAL etc.
Topic: Software reset in C
Replies: 16
Views: 701

Software reset in C

I am using the following code to reset the Atari after a fatal error occured. Unfortunately, the AUTO folder programs don't get loaded on reboot. Why? static void* get_os_start(void); void do_reset() { void* os_start = (void*)Supexec(get_os_start); Supexec(os_start); } void* get_os_start() { OSHEADE...
by Count
Mon Apr 27, 2020 12:39 pm
Forum: C / PASCAL etc.
Topic: Help needed for form_do() replacement for passwords
Replies: 8
Views: 524

Re: Help needed for form_do() replacement for passwords

I should have known that it must lead into trouble answering a Thorsten while skyping with a Thomas . :mrgreen: Yes, your are right with your comments. I mentioned the first point in my opening post ("assumes that the dialog has only one edit field"). But right now this is just a prototype to play w...
by Count
Mon Apr 27, 2020 12:07 pm
Forum: C / PASCAL etc.
Topic: Help needed for form_do() replacement for passwords
Replies: 8
Views: 524

Re: Help needed for form_do() replacement for passwords

Is this what you mean, Thomas? if (key != 0) { short old_idx = idx; switch (key) { case BACKSPACE: objc_edit(tree, edit_ob, key, &idx, ED_CHAR); if (idx < old_idx) { // character prior to cursor position has been deleted strcpy(buffer + idx, buffer + old_idx); } break; case ESCAPE: // field has been...
by Count
Mon Apr 27, 2020 10:29 am
Forum: C / PASCAL etc.
Topic: Help needed for form_do() replacement for passwords
Replies: 8
Views: 524

Re: Help needed for form_do() replacement for passwords

I think I found the right way to do it in the EmuTOS sources :D and replaced the "if (key != 0) { ... }" after the call to form_keybd() by this: #define ESCAPE 0x011b #define BACKSPACE 0x0e08 #define DELETE 0x537f #define ARROW_LEFT 0x4b00 #define ARROW_RIGHT 0x4d00 if (key != 0) { short old_idx = i...
by Count
Sun Apr 26, 2020 6:06 pm
Forum: C / PASCAL etc.
Topic: Help needed for form_do() replacement for passwords
Replies: 8
Views: 524

Re: Help needed for form_do() replacement for passwords

objc_edit() does redraw the object. And I cannot simply push "*" because the key could be a cursor key which would lead in just changing the cursor position or move to another field. Maybe I could use Keytbl() to check if the scan code leads to an ASCII code. objc_edit() redraws the field with the p...
by Count
Sun Apr 26, 2020 4:25 pm
Forum: C / PASCAL etc.
Topic: Help needed for form_do() replacement for passwords
Replies: 8
Views: 524

Help needed for form_do() replacement for passwords

I am working on a form_do() replacement which can handle password fields and echo e.g. asterisks instead of the typed characters. I modified the form_do() source printed in the Atari Profibuch to do so. That works pretty fine, but it loses the ability to move the cursor within the field because the ...
by Count
Fri Apr 17, 2020 9:53 am
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

Yes, it works better. Increasing MAX_DTAS_FILES to 2048 lead to incomplete copies.
I attached a zip file with the "info gemdos" output.
by Count
Thu Apr 16, 2020 4:26 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

Shame on me. I failed building the patched version of Hatari correctly. I didn't have in mind that a simple "make all" doesn't work. Due to this, I was still running my dirty hack rather than your patch. Unfortunately, I didn't check the file date. :? Today I cleared the source tree and the cmake ca...
by Count
Tue Apr 14, 2020 4:44 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

Ok, I started Hatari from PuTTY and made it to the debug console. How can I redirect the information to a file? These are the last lines: + 2032: /home/pi/host_fs/.system/Partitions/hatari_hostfs/k/TEST/TEST2/00000976/00001098 - 0: 00000778 Fsnext entry = 1. + 2033: /home/pi/host_fs/.system/Partitio...
by Count
Sun Apr 12, 2020 6:23 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

Unfortunately, the debugger doesn't show up. I get a message about it in the status line, but that's all.
by Count
Sun Apr 12, 2020 6:22 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

No, TOS didn't give any indications. It just stopped the operation and the dialog box was closed. But that amount of folders, files and bytes is far beyond what I really need. So, your patch is definitely a step forward.
by Count
Thu Apr 09, 2020 7:11 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

Could you try whether the attached patch also fixes your issue? Thank you for your patch. I gave it a try and the result is really interesting. Preliminaries: - 68030 TT at 16 MHz - 4 MB ST RAM - 8 MB TT RAM - 68881 FPU - German TOS 3.06 - F: partition on a hard disk image - K: host directory I cre...
by Count
Tue Mar 17, 2020 4:21 pm
Forum: Applications
Topic: COVID-19 Watcher 1.0.0
Replies: 44
Views: 5255

Re: COVID-19 Watcher 1.0.0

christos wrote:Cool little application. All it needs now is a country filter.
And a chart with forecast.
by Count
Thu Mar 05, 2020 7:04 pm
Forum: C / PASCAL etc.
Topic: Project announcement: libcmini
Replies: 72
Views: 44994

Re: Project announcement: libcmini

Maybe it's time for a minor release 0.51 since some significant bugs have been fixed since the last release.
by Count
Tue Feb 25, 2020 12:28 pm
Forum: Hatari
Topic: Unable to boot TT emulation with tos 3.0.6
Replies: 5
Views: 1144

Re: Unable to boot TT emulation with tos 3.0.6

Same happens here. I have to disable TT ram and set 24 bit memory addressing to get it booting.
by Count
Mon Feb 17, 2020 6:07 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

Ah, Kobold is a nice hint. I am using a Mupfel script right now, but Kobold should do the same job very much faster (within seconds and not minutes).
by Count
Sat Feb 15, 2020 6:34 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

On host side, Hatari can only keep track of 256 DTAs: https://git.tuxfamily.org/hatari/hatari.git/tree/src/gemdos.c?id=v2.2.1#n103 How do you crazy guy come up with something like that off the cuff? I just recompiled Hatari after increasing MAX_DTAS_FILES from 256 to 2048 and everything is fine (ev...
by Count
Sat Feb 15, 2020 5:59 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Re: Issue with copying large directory trees from GEMDOS drive do ACSI partition

@ThorstenOtto: You are right with the number of files and the byte count. I checked the tree in my DOS box with "attrib /s /d", but there are no hidden or system files or directories. GEM's file info shows 313 folders / 795 files / 11345097 bytes on the GEMDOS drive, but 315 / 800 / 11570644 on the ...
by Count
Sat Feb 15, 2020 4:23 pm
Forum: Hatari
Topic: Issue with copying large directory trees from GEMDOS drive do ACSI partition
Replies: 25
Views: 2549

Issue with copying large directory trees from GEMDOS drive do ACSI partition

I discovered an issue with GEMDOS drives (mapped host directories). Am using such a drive to exchange files via FTP between my PC and Hatari on my Raspberry Pi. The host directory is mapped to GEMDOS drive K. When I try to copy large directory trees from K to an ACSI partition, only a portion of the...
by Count
Sat Feb 08, 2020 3:32 pm
Forum: Hardware
Topic: request hdd led for mega ste
Replies: 10
Views: 1289

Re: request hdd led for mega ste

It's a regular LED. I replaced mine a few weeks ago after one pin of the old one broke off because of rust. 8O Just happened to me Yesterday.. from the hdd ST157n - yellow.. I find yellow harder to find.. measured mine 3mm - and find just a pack of say 5 3mm led is hard now.. you tend to have to bu...

Go to advanced search