Check-in [a8b3d87161]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:More attempts to figure things out.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | wip-springcoat-bringup
Files: files | file ages | folders
SHA1: a8b3d8716164dc7a4cb595fd094bab62fb097494
User & Date: stephanie.gawroriski 2020-05-14 00:27:28
Context
2020-05-14
00:27
More attempts to figure things out. Leaf check-in: a8b3d87161 user: stephanie.gawroriski tags: wip-springcoat-bringup
00:08
Some minor work. check-in: e61c626c99 user: stephanie.gawroriski tags: wip-springcoat-bringup
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to emulators/springcoat-vm/src/main/java/cc/squirreljme/vm/springcoat/SystemCallHandler.java.

316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
				case SystemCallIndex.PD_OF_STDERR:
					return 2;
					
					// Write byte to standard descriptor
				case SystemCallIndex.PD_WRITE_BYTE:
					switch (__a)
					{
						case 1: System.out.print((char)__b); break;
						case 2: System.err.print((char)__b); break;
						
						default:
							error = SystemCallError.PIPE_DESCRIPTOR_INVALID;
							return 0;
					}
					return 1;
				







|
|







316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
				case SystemCallIndex.PD_OF_STDERR:
					return 2;
					
					// Write byte to standard descriptor
				case SystemCallIndex.PD_WRITE_BYTE:
					switch (__a)
					{
						case 1: System.out.write(__b); break;
						case 2: System.err.write(__b); break;
						
						default:
							error = SystemCallError.PIPE_DESCRIPTOR_INVALID;
							return 0;
					}
					return 1;