Lines Matching full:short
94 * compiler memory model. We assume "short" is 16 bits, "long" is 32.
99 unsigned short ax, dx, bx;
103 unsigned short ax, dx, bx;
107 extern short far jdos_open JPP((short far * handle, char far * filename));
108 extern short far jdos_close JPP((short handle));
109 extern short far jdos_seek JPP((short handle, long offset));
110 extern short far jdos_read JPP((short handle, void far * buffer,
111 unsigned short count));
112 extern short far jdos_write JPP((short handle, void far * buffer,
113 unsigned short count));
116 extern short far jems_available JPP((void));
253 (unsigned short) byte_count))
269 (unsigned short) byte_count))
291 short handle;
294 if (jdos_open((short far *) & handle, (char far *) info->temp_name)) {
427 if (ctx.ax < (unsigned short) 0x0200)
431 ctx.dx = (unsigned short) ((total_bytes_needed + 1023L) >> 10);
475 #define SRC_OFFSET(spec) FIELD_AT(spec,7,unsigned short)
476 #define SRC_PAGE(spec) FIELD_AT(spec,9,unsigned short)
480 #define DST_OFFSET(spec) FIELD_AT(spec,14,unsigned short)
481 #define DST_PAGE(spec) FIELD_AT(spec,16,unsigned short)
501 SRC_PAGE(spec) = (unsigned short) (file_offset / EMSPAGESIZE);
502 SRC_OFFSET(spec) = (unsigned short) (file_offset % EMSPAGESIZE);
529 DST_PAGE(spec) = (unsigned short) (file_offset / EMSPAGESIZE);
530 DST_OFFSET(spec) = (unsigned short) (file_offset % EMSPAGESIZE);
577 ctx.bx = (unsigned short) ((total_bytes_needed + EMSPAGESIZE-1L) / EMSPAGESIZE);