Search found 153 matches

by kanjitalk755
Mon Nov 05, 2018 3:24 am
Forum: SheepShaver
Topic: Keyboard Azerty SheepShaver 2.5
Replies: 15
Views: 4600

Re: Keyboard Azerty SheepShaver 2.5

The issue may be related to SDL2. The 2.5 version uses SDL2 and I think the existing keycodes file is not compatible with SDL2. As I had previously posted, keycodes file is not compatible. https://www.emaculation.com/forum/viewtopic.php?f=20&t=9733&p=60172#p60172 kanjitalk755's latest code ...
by kanjitalk755
Sun Oct 28, 2018 6:08 am
Forum: SheepShaver
Topic: Build kanjitalk755 code under Mohave & Xcode 10?
Replies: 9
Views: 3435

Re: Build kanjitalk755 code under Mohave & Xcode 10?

I have updated my repo for Xcode10. https://github.com/kanjitalk755/macemu But SDL2.0.8 (stable version) is seems to be incompatible with 10.14SDK. I encountered black screen on launching SheepShaver. The problem can be resolved using the SDL built by latest source. If you use SDL2.0.8, I recommend ...
by kanjitalk755
Tue Oct 02, 2018 4:30 am
Forum: Basilisk II
Topic: BasiliskII for Windows
Replies: 144
Views: 383587

Re: BasiliskII for Windows

@Velek I have received your private message and will reply here. 1) localtime() I recommend uploading the fix on your own GitHub repo. 2) SDL2 Try windows version of my repo. https://github.com/kanjitalk755/macemu 3) VS2017 My repo can be built using MinGW32/MSYS. I can't solve the problem related t...
by kanjitalk755
Wed Jul 18, 2018 9:45 am
Forum: SheepShaver
Topic: SheepShaver version 2.5 for MacOSX/macOS for testing
Replies: 37
Views: 16008

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

The report of the Unix folder limit was about 8.6. And the limit wasn't there in older versions of SheepShaver running the same 8.6 system. (This was reported by a user of my WPMacApp application which runs WordPerfect for the Mac in SheepShaver.) The file extfs_macosx.cpp (implementation of extern...
by kanjitalk755
Tue Jul 17, 2018 2:01 pm
Forum: SheepShaver
Topic: SheepShaver version 2.5 for MacOSX/macOS for testing
Replies: 37
Views: 16008

Re: SheepShaver version 2.5 for MacOSX/macOS for testing

Someone who uses my build of your code reports that the Unix folder only shows around 500 items, so he can't access some folders. I haven't been able to test this, but if it is a real problem, is it possible to fix it? I reproduced the issue in System7.5.3. But it works correctly in MacOS8.6. I thi...
by kanjitalk755
Fri Jul 13, 2018 9:41 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

Hmm, rolled back to 11th July version.
by kanjitalk755
Fri Jul 13, 2018 6:53 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

I have fixed the issue again.
It works properly too in case caps lock is ON when launching SheepShaver.
by kanjitalk755
Wed Jul 11, 2018 2:30 pm
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

Ronald P. Regensburg wrote:Do you know if the SDL 1.2 versions somehow read the caps lock status when the apps are launched?
On launching, the SDL1.2 generates a keydown event of caps lock if necessary.
But the SDL2.0 doesn't.
I tried similar action as SDL1.2, but failed.
by kanjitalk755
Wed Jul 11, 2018 9:04 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

Ronald P. Regensburg wrote:It appears that another key is not working properly in SheepShaver 2.5:
The Caps Lock key behaves as the shift key, you need to keep it pressed to type capital letters
I have fixed the issue, but it is incomplete.

The LED status of caps lock key may reflect to uppercase/lowercase incorrectly.
by kanjitalk755
Fri Jul 06, 2018 10:42 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

emendelson wrote:The --config option seems to be in the code (in main_unix.cpp) but the program doesn't use it - or at least I can't make this work.
Fixed.
by kanjitalk755
Fri Jun 29, 2018 10:37 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

When you have a chance, would you be willing to look at the "update_display_static_bbox" function? There's some error in calculating if a box is dirty, which is why most games are loading to a black screen until the mouse is moved. The quick fix is to initialize dirty = true, and force ev...
by kanjitalk755
Thu Jun 28, 2018 3:48 pm
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

I don't have that type of keyboard.
Can you cooperate with debugging?

1) Set "Build Configuration" to Debug.
2) Set breakpoint at video_sdl2.cpp#L1894

Code: Select all

switch (ks.sym) {
3) Run.
4) Press the key.
5) Tell me value of ks.sym.
by kanjitalk755
Thu Jun 28, 2018 10:19 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

The key between between Z key and the shift key does not register. Specifically, what kind of problem is it? It probably will take some time and familiarity with SDL2 to debug, but my preliminary tests have found that it is always a double free or freeing a non-existent pointer error. The two place...
by kanjitalk755
Wed Jun 27, 2018 2:34 pm
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

Oh, I forgot. Fixed.
If you edit ram size by preferences editor, it's saved not megabytes but bytes.
by kanjitalk755
Wed Jun 27, 2018 10:31 am
Forum: SheepShaver
Topic: Create help menu under SDL2?
Replies: 12
Views: 5250

Re: Create help menu under SDL2?

Also, here's how I modified kanjitalk755's code. I removed the reference to SDL Framework, and added a reference to the SDL Xcode project, as in David Ludwig's code. I still haven't figured out how to make Xcode move the SDL framework (after building it) into the Contents/Frameworks folder in the S...
by kanjitalk755
Wed Jun 27, 2018 10:26 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

I have appended "hotkey" keyword to preference item. Conventionally hotkey is control key, you can now change it by adding "hotkey" keyword to pref file. 1: control(default) 2: option 3: control+option 4: command 5: control+command 6: option+command 7: control+option+command One ...
by kanjitalk755
Sun Jun 24, 2018 5:11 am
Forum: SheepShaver
Topic: Create help menu under SDL2?
Replies: 12
Views: 5250

Re: Create help menu under SDL2?

SheepShaver project doesn't use NIB file of main menu.
Using SDL2, main menu all is built by code.
The function is CreateApplicationMenus() in following source.

https://github.com/SDL-mirror/SDL/blob/ ... oaevents.m
by kanjitalk755
Fri Jun 22, 2018 4:21 pm
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

Mainly a cosmetic issue: When I launch SheepShaver, the View menu now appears for a moment in the menu bar and then immediately disappears. SDL2 appends the View menu in its initialize sequence. After that, SheepShaver deletes it. Probably, to prevent display it at all, we need a patched SDL2.frame...
by kanjitalk755
Thu Jun 21, 2018 1:59 pm
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

- I notice that you set the minimum system version to 10.7. Does it actually work in 10.7? I can't confirm it because I don't have OS X 10.7. Probably, the full screen feature is introduced in 10.7. If someone reports that SheepShaver doesn't run in 10.7, I'll change deployment target to 10.8. - I ...
by kanjitalk755
Thu Jun 21, 2018 9:38 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

Is /Library/Frameworks/SDL2.framework/Headers/SDL_events.h exist?
If not, you need re-install SDL2.framework.
by kanjitalk755
Thu Jun 21, 2018 7:27 am
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

I have merged all my branches to master. https://github.com/kanjitalk755/macemu @ kanjitalk755 In builds from the combined source, I noticed a View menu with greyed out "Toggle Full Screen" item. Even if it would work, it cannot be used in full-screen mode to get back to window mode. May b...
by kanjitalk755
Wed Jun 20, 2018 2:12 pm
Forum: SheepShaver
Topic: Create help menu under SDL2?
Replies: 12
Views: 5250

Re: Create help menu under SDL2?

A sample code is here.

https://github.com/kanjitalk755/macemu/ ... _macosx.mm

See prefs_init() function.
In case SDL1, appending preferences menu.
In case SDL2, modifying preferences menu appended by SDL_Init().
by kanjitalk755
Sat Jun 16, 2018 4:39 pm
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

When registering embed framework to project, it becomes relative path.
Therefore, it may be necessary to edit the project when building in another environment.
by kanjitalk755
Sat Jun 16, 2018 3:06 pm
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

Is it possible to limit access to packages in the Open dialog to .sheepvm packages? I do not know much, but I think that it can not. Edit: One more issue: The application should also work when SDL2.framework is not installed in /Library/Frameworks/. I removed it there and added it to the applicatio...
by kanjitalk755
Sat Jun 16, 2018 12:48 pm
Forum: SheepShaver
Topic: MacOSX/OSX/macOS 64-bit build for testing
Replies: 105
Views: 52210

Re: MacOSX/OSX/macOS 64-bit build for testing

Fixed relative paths in case sheepvm is used.
Please test again.